Skip to content

Commit 1e609c1

Browse files
committed
removed references to js-slang
1 parent 57349fb commit 1e609c1

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

Diff for: server/LICENSE renamed to LICENSE

File renamed without changes.

Diff for: README.md

+2-15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# source-lsp
22

3-
A lsp server for [source](https://github.com/source-academy/js-slang)
3+
A LSP server for [source](https://github.com/source-academy/js-slang)
44

55
# Setup
66

@@ -12,17 +12,4 @@ cd source-lsp
1212
npm i
1313
```
1414

15-
Now we need to rebuild js-slang. This is because vscode uses electron, which causes a node_module_version mismatch
16-
To fix this, we need to use electron-rebuild, we need to find our vscode electron version for this, which is in Help > About
17-
18-
```console
19-
cd server
20-
./node_modules/bin/electron-rebuild -v <electron version>
21-
```
22-
23-
If you want to run tests, make sure the electron version used is the same as well in the package.json
24-
`"test": "npx [email protected] node_modules/mocha/bin/mocha.js server/out/test/*.js --ui tdd"`
25-
26-
Then now the plugin should be able to run, enter `code .` in the root folder to startup vscode
27-
28-
Then in vscode, press ctrl + shift + b to build, then press F5 to run the plugin. You can open test.sourcejs for testing
15+
In vscode, press ctrl + shift + b to build, then press F5 to run the plugin. You can open the scripts in test_files for testing

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"watch": "tsc -b -w",
6565
"lint": "eslint",
6666
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
67-
"test": "npx [email protected] node_modules/mocha/bin/mocha.js server/out/test/*.js --ui tdd"
67+
"test": "node node_modules/mocha/bin/mocha.js server/out/test/*.js --ui tdd"
6868
},
6969
"devDependencies": {
7070
"@eslint/js": "^9.13.0",

0 commit comments

Comments
 (0)