File tree Expand file tree Collapse file tree 2 files changed +36
-16
lines changed Expand file tree Collapse file tree 2 files changed +36
-16
lines changed Original file line number Diff line number Diff line change @@ -29,20 +29,30 @@ executables:
2929 stack-simple-exe :
3030 main : Main.hs
3131 source-dirs : app
32- ghc-options :
33- - -threaded
34- - -rtsopts
35- - -with-rtsopts=-N
32+ when :
33+ - condition : arch(wasm32)
34+ then :
35+ ghc-options : []
36+ else :
37+ ghc-options :
38+ - -threaded
39+ - -rtsopts
40+ - -with-rtsopts=-N
3641 dependencies :
3742 - stack-simple
3843
3944tests :
4045 stack-simple-test :
4146 main : Spec.hs
4247 source-dirs : test
43- ghc-options :
44- - -threaded
45- - -rtsopts
46- - -with-rtsopts=-N
48+ when :
49+ - condition : arch(wasm32)
50+ then :
51+ ghc-options : []
52+ else :
53+ ghc-options :
54+ - -threaded
55+ - -rtsopts
56+ - -with-rtsopts=-N
4757 dependencies :
4858 - stack-simple
Original file line number Diff line number Diff line change @@ -29,20 +29,30 @@ executables:
2929 stack-simple-exe :
3030 main : Main.hs
3131 source-dirs : app
32- ghc-options :
33- - -threaded
34- - -rtsopts
35- - -with-rtsopts=-N
32+ when :
33+ - condition : arch(wasm32)
34+ then :
35+ ghc-options : []
36+ else :
37+ ghc-options :
38+ - -threaded
39+ - -rtsopts
40+ - -with-rtsopts=-N
3641 dependencies :
3742 - stack-simple
3843
3944tests :
4045 stack-simple-test :
4146 main : Spec.hs
4247 source-dirs : test
43- ghc-options :
44- - -threaded
45- - -rtsopts
46- - -with-rtsopts=-N
48+ when :
49+ - condition : arch(wasm32)
50+ then :
51+ ghc-options : []
52+ else :
53+ ghc-options :
54+ - -threaded
55+ - -rtsopts
56+ - -with-rtsopts=-N
4757 dependencies :
4858 - stack-simple
You can’t perform that action at this time.
0 commit comments