Skip to content

Commit

Permalink
Merge pull request #262 from terror/ci
Browse files Browse the repository at this point in the history
Add CI workflow
  • Loading branch information
truell20 committed Mar 27, 2023
2 parents 5cd4edd + 595ffce commit 42fd394
Show file tree
Hide file tree
Showing 17 changed files with 2,456 additions and 57 deletions.
File renamed without changes.
55 changes: 55 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: CI

on:
pull_request:
branches:
- main
push:
branches:
- main

defaults:
run:
shell: bash

jobs:
all:
name: All

strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest

runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v3

- name: Setup macOS/linux
if: ${{ matrix.os != 'windows-latest' }}
run: ./setup.sh

- name: Setup windows
if: ${{ matrix.os == 'windows-latest' }}
shell: pwsh
run: ./setup.ps1

- name: Install dependencies
run: npm ci

- name: Check formatting
if: ${{ matrix.os != 'windows-latest' }}
run: npm run format-check

- name: Package
run: npm run package
timeout-minutes: 30

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}-binary
path: out
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/.webpack
/lsp
/out
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@

# Cursor

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/getcursor/cursor/blob/main/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)]() [![](https://dcbadge.vercel.app/api/server/PJEgRywgRy?style=flat&compact=true)](https://discord.gg/PJEgRywgRy)

**[Cursor](https://cursor.so) is an editor made for programming with AI.** It's early days, but right now Cursor can help you with a few things...

- **Write**: Generate 10-100 lines of code with an AI that's smarter than Copilot
- **Diff**: Ask the AI to edit a block of code, see only proposed changes
- **Chat**: ChatGPT-style interface that understands your current file
- **And more**: ask to fix lint errors, generate tests/comments on hover, etc.
- **Write**: Generate 10-100 lines of code with an AI that's smarter than Copilot
- **Diff**: Ask the AI to edit a block of code, see only proposed changes
- **Chat**: ChatGPT-style interface that understands your current file
- **And more**: ask to fix lint errors, generate tests/comments on hover, etc.

<p align="center">
<a href="https://cursor.so/">
Expand All @@ -24,11 +23,12 @@ Feel free to file tickets for bugs or feature requests. Upvote 👍 the ones you

## Roadmap

Long term, our plan is to build Cursor into the world's most productive development environment. Using LLMs, we want to do things like:
- Auto-fix errors as soon as they show up in your terminal
- Embed AI-written documentation into the UI
- "Heal" your repository when you're halfway through a refactor
- Allow you to code by editing a "pseudocode" version of your codebase
Long term, our plan is to build Cursor into the world's most productive development environment. Using LLMs, we want to do things like:

- Auto-fix errors as soon as they show up in your terminal
- Embed AI-written documentation into the UI
- "Heal" your repository when you're halfway through a refactor
- Allow you to code by editing a "pseudocode" version of your codebase

## Development

Expand All @@ -41,6 +41,7 @@ npm i
```

Then, download some non-versioned dependencies (ripgrep binaries and language server js):

```
./setup.sh # Mac/Linux
./setup.ps1 # Windows
Expand Down

0 comments on commit 42fd394

Please sign in to comment.