Skip to content

Commit

Permalink
add windows tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
madispp committed Jul 29, 2019
1 parent 2bdc347 commit 020b926
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"label": "build",
"type": "shell",
"command": "./build.sh",
"windows": {
"command": ".\\build.cmd"
},
"group": {
"kind": "build",
"isDefault": true
Expand All @@ -17,6 +20,9 @@
"label": "serve",
"type": "shell",
"command": "./serve.sh",
"windows": {
"command": ".\\serve.cmd"
},
"group": "build",
"isBackground": true,
"problemMatcher": {
Expand Down
3 changes: 3 additions & 0 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
del /f/s/q .\public\ > nul

hugo --minify
3 changes: 3 additions & 0 deletions serve.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
del /f/s/q .\public\ > nul

hugo server --watch --disableFastRender

0 comments on commit 020b926

Please sign in to comment.