Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (30 sloc) 747 Bytes
import System.Nemesis (run)
import System.Nemesis.DSL
import Air.Env ((-))
import Prelude hiding ((-))
main = run nemesis
nemesis = do
clean
[ "**/*.hi"
, "**/*.o"
, "manifest"
]
desc "prepare cabal dist"
task "dist" - do
sh "cabal clean"
sh "cabal configure"
sh "cabal sdist"
desc "show sloc"
task "stat" - do
sh "cloc -match-f=hs- --quiet src --no3"
task "i" - do
sh "ghci -isrc src/Test/Test.hs"
desc "run the test app in src/Test/Test.hs"
task "run" - do
sh "runghc -isrc src/Test/Test.hs"
task "myapp" - do
sh "runghc -isrc src/Test/myapp.hs"
task "moe" - do
sh "runghc -isrc src/Test/Moe.hs"
task "moei" - do
sh "ghci -isrc src/Test/Moe.hs"