Skip to content

Commit cff154d

Browse files
jrp2014Adam Wespiser
authored and
Adam Wespiser
committed
Add support for building with cabal, including more .gitignore
1 parent 39f2edf commit cff154d

File tree

4 files changed

+65
-3
lines changed

4 files changed

+65
-3
lines changed

.gitignore

+57-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,61 @@
1-
*.sw[ponm]
2-
dist/
3-
.cabal-sandbox
1+
### Haskell
2+
dist
3+
dist-*
4+
cabal-dev
5+
*.o
6+
*.hi
7+
*.chi
8+
*.chs.h
9+
*.dyn_o
10+
*.dyn_hi
11+
*.prof
12+
*.aux
13+
*.hp
14+
*.eventlog
15+
.virtualenv
16+
.hsenv
17+
.hpc
18+
.cabal-sandbox/
419
cabal.sandbox.config
20+
cabal.config
21+
cabal.project.local
22+
.ghc.environment.*
23+
.HTF/
24+
.hie/
25+
26+
# Stack
27+
.stack-work/
28+
stack.yaml.lock
29+
30+
### IDE/support
31+
# Vim
32+
[._]*.s[a-v][a-z]
33+
[._]*.sw[a-p]
34+
[._]s[a-v][a-z]
35+
[._]sw[a-p]
36+
*~
37+
tags
38+
39+
# IntellijIDEA
40+
.idea/
41+
.ideaHaskellLib/
42+
*.iml
43+
44+
# Atom
45+
.haskell-ghc-mod.json
46+
47+
# VS
48+
.vscode/
49+
50+
# Emacs
51+
*#
52+
.dir-locals.el
53+
TAGS
54+
55+
# other
56+
.DS_Store
57+
*.sw[ponm]
58+
559
.stack-work
660
.shake
761
output/*

build-cabal

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env bash
2+
cabal build

repl-cabal

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
cabal build
3+
cabal exec scheme -- -r

run-cabal

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
cabal build
3+
cabal exec scheme -- "$@"

0 commit comments

Comments
 (0)