add exectuable sources

This commit is contained in:
Ilya Rezvov
2018-04-28 14:04:41 -07:00
parent 4601666eab
commit 9c5c4a77cc
3 changed files with 22 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
module Main where
main :: IO ()
main = do
putStrLn "There is no WASM!"
+9
View File
@@ -31,6 +31,15 @@ library:
- containers >= 0.5 && <0.6
- utf8-string >= 1.0
executables:
wasm:
source-dirs: exec
main: Wasm.hs
dependencies:
- wasm == 0.1.0
- base
- optparse-applicative
tests:
test:
main: Test.hs
+8
View File
@@ -50,6 +50,14 @@ library
Paths_wasm
default-language: Haskell2010
executable wasm
main-is: Main.hs
hs-source-dirs: exec
build-depends:
base >=4.6 && <5.0
, wasm ==0.1.0
, optparse-applicative >= 0.13
test-suite test
type: exitcode-stdio-1.0
main-is: Test.hs