We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6e3ec5 commit 7b2521bCopy full SHA for 7b2521b
Werkfile
@@ -0,0 +1,25 @@
1
+let mdbook = which "mdbook"
2
+let werk-vscode-version = shell "jq --raw-output .version werk-vscode/package.json"
3
+
4
+build "/werk-vscode/werk-{werk-vscode-version}.vsix" {
5
+ from glob "werk-vscode/**/*"
6
+ run "npm --prefix werk-vscode run package -- --out ../target/werk-vscode"
7
+}
8
+build "/book/book" {
9
+ run "{mdbook} build book --dest-dir book/book"
10
11
12
+task vscode-install-extension {
13
+ let vsix = "/werk-vscode/werk-{werk-vscode-version}.vsix"
14
+ build vsix
15
+ run "code --install-extension <vsix>"
16
17
18
+task mdbook-serve {
19
+ run "mdbook serve book"
20
21
22
+task test {
23
+ run "cargo test"
24
+ run "mdbook test book --dest-dir book/book"
25
0 commit comments