shake: compile now installs required libs

This commit is contained in:
Simon Michael 2016-10-29 09:42:48 -07:00
parent d4844b621e
commit 79dfa308fc

View File

@ -86,7 +86,8 @@ main = do
"Shake" %> \out -> do
need [out <.> "hs"]
cmd "stack ghc Shake.hs" :: Action ExitCode
unit $ cmd "./Shake.hs --version" -- install libs via shebang line
unit $ cmd "stack ghc Shake.hs"
putLoud "You can now run ./Shake instead of ./Shake.hs"
phony "all" $ need ["docs", "website"]