forked from mmistakes/minimal-mistakes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dev): add vscode tasks (mmistakes#1843)
- Loading branch information
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Run Jekyll Server", | ||
"type": "shell", | ||
"command": "./tools/run.sh", | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"problemMatcher": [], | ||
"detail": "Runs the Jekyll server with live reload." | ||
}, | ||
{ | ||
"label": "Build Jekyll Site", | ||
"type": "shell", | ||
"command": "./tools/test.sh", | ||
"group": { | ||
"kind": "build" | ||
}, | ||
"problemMatcher": [], | ||
"detail": "Build the Jekyll site for production." | ||
}, | ||
{ | ||
"label": "Build JS (watch)", | ||
"type": "shell", | ||
"command": "npm run watch:js", | ||
"group": { | ||
"kind": "build" | ||
}, | ||
"problemMatcher": [], | ||
"detail": "Build JS files in watch mode." | ||
}, | ||
{ | ||
"label": "Build CSS", | ||
"type": "shell", | ||
"command": "npm run build:css", | ||
"group": { | ||
"kind": "build" | ||
}, | ||
"problemMatcher": [], | ||
"detail": "Build CSS files." | ||
}, | ||
{ | ||
"label": "Build JS & CSS", | ||
"type": "shell", | ||
"command": "npm run build", | ||
"group": { | ||
"kind": "build" | ||
}, | ||
"problemMatcher": [], | ||
"detail": "Build JS & CSS for production." | ||
}, | ||
{ | ||
"label": "Run Jekyll Server + Build JS (watch)", | ||
"dependsOn": ["Run Jekyll Server", "Build JS (watch)"], | ||
"group": { | ||
"kind": "build" | ||
}, | ||
"detail": "Runs both the Jekyll server with live reload and build JS files in watch mode." | ||
} | ||
] | ||
} |