Skip to content

Commit 0ef76cf

Browse files
committed
Build benchmarks in .stack-work-bench
1 parent a268e4e commit 0ef76cf

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ dist-newstyle
44
.cabal-sandbox/
55
cabal.sandbox.config
66
.stack-work/
7+
.stack-work-bench/
78

89
*.o
910
*.hi

stack-bench.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
resolver: lts-8.5
2-
packages:
32
# We use aeson in the snapshot to
43
# - avoid recompilation of criterion
54
# - compare against it
6-
75
# - '.'
6+
#
7+
# Also we use separate working directory to avoid "unregistering aeson"
8+
# caused recompilations
9+
work-dir: .stack-work-bench
10+
packages:
811
- benchmarks
912
extra-deps:
1013
- aeson-1.2.1.0

0 commit comments

Comments
 (0)