diff --git a/.gitignore b/.gitignore index 56e48cf..e9a934f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,10 +2,13 @@ dist/ dist-newstyle/ out/ +tmp/ +extra/ .idea/ -.vscode/ .DS_Store *.exe *.dll + +stack.yaml.lock diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..6c8f9a1 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,54 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Run (+ build)", + "type": "shell", + "command": "stack run", + "problemMatcher": [], + "dependsOn": [ "Build" ], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "Build", + "type": "shell", + "command": "stack build", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": false + } + }, + { + "label": "Test", + "type": "shell", + "command": "stack test", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "GHCI", + "type": "shell", + "command": "stack ghci ${input:file_to_load}", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + } + ], + "inputs": [ + { + "id": "file_to_load", + "description": "CLI arguments specifying file to load into Stack GHCI", + "default": ".", + "type": "promptString" + }, + ] +} \ No newline at end of file