@@ -0,0 +1,50 @@
1+
2+{
3+ // Automatically created by phoityne-vscode extension.
4+
5+ "version": "2.0.0",
6+ "presentation": {
7+ "reveal": "always",
8+ "panel": "new"
9+ },
10+ "tasks": [
11+ {
12+ // F7
13+ "group": {
14+ "kind": "build",
15+ "isDefault": true
16+ },
17+ "label": "haskell build",
18+ "type": "shell",
19+ //"command": "cabal configure && cabal build"
20+ "command": "stack build"
21+ },
22+ {
23+ // F6
24+ "group": "build",
25+ "type": "shell",
26+ "label": "haskell clean & build",
27+ //"command": "cabal clean && cabal configure && cabal build"
28+ "command": "stack clean && stack build"
29+ //"command": "stack clean ; stack build" // for powershell
30+ },
31+ {
32+ // F8
33+ "group": {
34+ "kind": "test",
35+ "isDefault": true
36+ },
37+ "type": "shell",
38+ "label": "haskell test",
39+ //"command": "cabal test"
40+ "command": "stack test"
41+ },
42+ {
43+ // F6
44+ "isBackground": true,
45+ "type": "shell",
46+ "label": "haskell watch",
47+ "command": "stack build --test --no-run-tests --file-watch"
48+ }
49+ ]
50+}