vs code installer
This commit is contained in:
parent
c88db5b491
commit
bb4c26c860
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@
|
|||||||
.gdb_history
|
.gdb_history
|
||||||
contra
|
contra
|
||||||
**/node_modules
|
**/node_modules
|
||||||
|
*.vsix
|
||||||
|
9
Makefile
9
Makefile
@ -1,4 +1,4 @@
|
|||||||
.PHONY: clean test run
|
.PHONY: clean test install uninstall code_install vim_install
|
||||||
|
|
||||||
ifeq ($(DEBUG), 1)
|
ifeq ($(DEBUG), 1)
|
||||||
LFLAGS += --debug --trace
|
LFLAGS += --debug --trace
|
||||||
@ -38,6 +38,13 @@ uninstall:
|
|||||||
vim_install:
|
vim_install:
|
||||||
cp plugin/contra.vim ~/.vim/plugin/
|
cp plugin/contra.vim ~/.vim/plugin/
|
||||||
|
|
||||||
|
code_install: code
|
||||||
|
code --install-extension plugin/vscode/*.vsix
|
||||||
|
|
||||||
|
code:
|
||||||
|
cd plugin/vscode/; \
|
||||||
|
yarn package
|
||||||
|
|
||||||
test:
|
test:
|
||||||
bat ${TEST.d}/draft.csml
|
bat ${TEST.d}/draft.csml
|
||||||
./${OUT} -c ${TEST.d}/draft.csml
|
./${OUT} -c ${TEST.d}/draft.csml
|
||||||
|
3908
plugin/vscode/package-lock.json
generated
Normal file
3908
plugin/vscode/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -3,6 +3,10 @@
|
|||||||
"displayName": "Contra",
|
"displayName": "Contra",
|
||||||
"description": "",
|
"description": "",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/agvxov/contra"
|
||||||
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.84.0"
|
"vscode": "^1.84.0"
|
||||||
},
|
},
|
||||||
@ -25,18 +29,24 @@
|
|||||||
"watch": "tsc -watch -p ./",
|
"watch": "tsc -watch -p ./",
|
||||||
"pretest": "yarn run compile && yarn run lint",
|
"pretest": "yarn run compile && yarn run lint",
|
||||||
"lint": "eslint src --ext ts",
|
"lint": "eslint src --ext ts",
|
||||||
"test": "node ./out/test/runTest.js"
|
"test": "node ./out/test/runTest.js",
|
||||||
|
"package": "vsce package --skip-license --allow-missing-repository --allow-star-activation"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/vscode": "^1.84.0",
|
|
||||||
"@types/mocha": "^10.0.3",
|
"@types/mocha": "^10.0.3",
|
||||||
"@types/node": "18.x",
|
"@types/node": "18.x",
|
||||||
|
"@types/vscode": "^1.84.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
||||||
"@typescript-eslint/parser": "^6.9.0",
|
"@typescript-eslint/parser": "^6.9.0",
|
||||||
|
"@vscode/test-electron": "^2.3.6",
|
||||||
"eslint": "^8.52.0",
|
"eslint": "^8.52.0",
|
||||||
"glob": "^10.3.10",
|
"glob": "^10.3.10",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
"typescript": "^5.2.2",
|
"typescript": "^5.2.2"
|
||||||
"@vscode/test-electron": "^2.3.6"
|
},
|
||||||
|
"license": "GPL-3.0",
|
||||||
|
"dependencies": {
|
||||||
|
"@vscode/vsce": "^2.22.0",
|
||||||
|
"vsce": "^2.15.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user