day3
This commit is contained in:
27
.vscode/launch.json
vendored
Normal file
27
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "ghc",
|
||||
"request": "launch",
|
||||
"name": "day2pt2",
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"workspace": "${workspaceFolder}",
|
||||
"startup": "${workspaceFolder}/day2/app/Pt2.hs",
|
||||
"startupFunc": "",
|
||||
"startupArgs": "",
|
||||
"stopOnEntry": false,
|
||||
"mainArgs": "",
|
||||
"ghciPrompt": "H>>= ",
|
||||
"ghciInitialPrompt": "> ",
|
||||
"ghciCmd": "stack ghci --with-ghc=ghci-dap --test --no-load --no-build --main-is main",
|
||||
"ghciEnv": {},
|
||||
"logFile": "${workspaceFolder}/.vscode/phoityne.log",
|
||||
"logLevel": "WARNING",
|
||||
"forceInspect": false
|
||||
}
|
||||
]
|
||||
}
|
||||
50
.vscode/tasks.json
vendored
Normal file
50
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
|
||||
{
|
||||
// Automatically created by phoityne-vscode extension.
|
||||
|
||||
"version": "2.0.0",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "new"
|
||||
},
|
||||
"tasks": [
|
||||
{
|
||||
// F7
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"label": "haskell build",
|
||||
"type": "shell",
|
||||
//"command": "cabal configure && cabal build"
|
||||
"command": "stack build"
|
||||
},
|
||||
{
|
||||
// F6
|
||||
"group": "build",
|
||||
"type": "shell",
|
||||
"label": "haskell clean & build",
|
||||
//"command": "cabal clean && cabal configure && cabal build"
|
||||
"command": "stack clean && stack build"
|
||||
//"command": "stack clean ; stack build" // for powershell
|
||||
},
|
||||
{
|
||||
// F8
|
||||
"group": {
|
||||
"kind": "test",
|
||||
"isDefault": true
|
||||
},
|
||||
"type": "shell",
|
||||
"label": "haskell test",
|
||||
//"command": "cabal test"
|
||||
"command": "stack test"
|
||||
},
|
||||
{
|
||||
// F6
|
||||
"isBackground": true,
|
||||
"type": "shell",
|
||||
"label": "haskell watch",
|
||||
"command": "stack build --test --no-run-tests --file-watch"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user