-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJustfile
46 lines (31 loc) · 1.46 KB
/
Justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import? '../../node_modules/@sergei-dyshel/eslint-config/export.just'
import? './node_modules/@sergei-dyshel/eslint-config/export.just'
import? '../../node_modules/@sergei-dyshel/prettier-config/export.just'
import? './node_modules/@sergei-dyshel/prettier-config/export.just'
import? '../../node_modules/@sergei-dyshel/typescript/export.just'
import? './node_modules/@sergei-dyshel/typescript/export.just'
_default:
just --list
update-package-json-ts-node:
node --enable-source-maps -r ts-node/register -r @sergei-dyshel/vscode/mock-register src/tools/updatePackageJson.ts
update-package-json:
build-cmd --run-if-built --vscode-mock src/tools/updatePackageJson.ts
copy-tree-sitter-wasm:
cp -u $(qcfg-resolve-package web-tree-sitter)/tree-sitter.wasm ./tree-sitter/
build-common: update-package-json copy-tree-sitter-wasm
build: build-common
build-cmd --vscode-ext src/extension/extension.ts
build-cmd src/tools/remoteCli.ts src/tools/syntaxDump.ts
package:
npm version patch
vsce package --no-dependencies
install-latest:
code --install-extension $(ls vscode-qcfg-*.vsix | sort --version-sort | tail -n1)
package-and-install: package install-latest
package-dev:
vsce package 0.0.0-dev --no-update-package-json --no-git-tag-version --no-dependencies
uninstall:
code --uninstall-extension QyRoN.vscode-qcfg
install-release: uninstall install-latest
install-dev: package-dev uninstall
code --install-extension vscode-qcfg-0.0.0-dev.vsix