41 lines
1.1 KiB
JSON
Executable File
41 lines
1.1 KiB
JSON
Executable File
{
|
|
// atuomatically created by phoityne-vscode
|
|
|
|
"version": "0.1.0",
|
|
"isShellCommand": true,
|
|
"showOutput": "always",
|
|
"suppressTaskName": true,
|
|
"windows": {
|
|
"command": "cmd",
|
|
"args": ["/c"]
|
|
},
|
|
"linux": {
|
|
"command": "sh",
|
|
"args": ["-c"]
|
|
},
|
|
"osx": {
|
|
"command": "sh",
|
|
"args": ["-c"]
|
|
},
|
|
"tasks": [
|
|
{
|
|
"taskName": "stack build",
|
|
"args": [ "echo START_STACK_BUILD && cd ${workspaceRoot} && stack build && echo END_STACK_BUILD " ]
|
|
},
|
|
{
|
|
"isBuildCommand": true,
|
|
"taskName": "stack clean & build",
|
|
"args": [ "echo START_STACK_CLEAN_AND_BUILD && cd ${workspaceRoot} && stack clean && stack build && echo END_STACK_CLEAN_AND_BUILD " ]
|
|
},
|
|
{
|
|
"isTestCommand": true,
|
|
"taskName": "stack test",
|
|
"args": [ "echo START_STACK_TEST && cd ${workspaceRoot} && stack test && echo END_STACK_TEST " ]
|
|
},
|
|
{
|
|
"isWatching": true,
|
|
"taskName": "stack watch",
|
|
"args": [ "echo START_STACK_WATCH && cd ${workspaceRoot} && stack build --test --no-run-tests --file-watch && echo END_STACK_WATCH " ]
|
|
}
|
|
]
|
|
} |