We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b984138 commit b7a03f2Copy full SHA for b7a03f2
1 file changed
Werkfile
@@ -0,0 +1,23 @@
1
+let werk-vscode-version = shell "jq --raw-output .version werk-vscode/package.json"
2
+
3
+build "/werk-vscode/werk-{werk-vscode-version}.vsix" {
4
+ from glob "werk-vscode/**/*"
5
+ run "npm --prefix werk-vscode run package -- --out ../target/werk-vscode"
6
+}
7
+build "/book/book" {
8
+ run "mdbook build book --dest-dir book/book"
9
10
11
+task vscode-install-extension {
12
+ let vsix = "/werk-vscode/werk-{werk-vscode-version}.vsix"
13
+ build vsix
14
+ run "code --install-extension <vsix>"
15
16
17
+task cli-install {
18
+ run "cargo install --path werk-cli"
19
20
21
+task mdbook-serve {
22
+ run "mdbook serve book"
23
0 commit comments