Move main to allow for new executables
This commit is contained in:
+19
-1
@@ -50,6 +50,7 @@ dependencies:
|
||||
- extra
|
||||
- primitive
|
||||
- streaming
|
||||
- repa
|
||||
|
||||
library:
|
||||
source-dirs: src
|
||||
@@ -60,7 +61,7 @@ executables:
|
||||
# loop-exe:
|
||||
dodge:
|
||||
main: Main.hs
|
||||
source-dirs: app
|
||||
source-dirs: appDodge
|
||||
ghc-options:
|
||||
- -threaded
|
||||
- -O2
|
||||
@@ -77,6 +78,23 @@ executables:
|
||||
# - -hiedir=.hie
|
||||
dependencies:
|
||||
- loop
|
||||
hetris:
|
||||
main: Hetris.hs
|
||||
source-dirs: appHetris
|
||||
ghc-options:
|
||||
- -threaded
|
||||
- -O2
|
||||
- -rtsopts
|
||||
- -with-rtsopts=-N
|
||||
- -flate-dmd-anal
|
||||
- -fno-liberate-case
|
||||
- -fno-state-hack
|
||||
- -funfolding-use-threshold1000
|
||||
- -funfolding-keeness-factor1000
|
||||
- -fllvm
|
||||
- -optlo-O3
|
||||
dependencies:
|
||||
- loop
|
||||
|
||||
tests:
|
||||
loop-test:
|
||||
|
||||
Reference in New Issue
Block a user