shake: compile now installs required libs
This commit is contained in:
parent
d4844b621e
commit
79dfa308fc
3
Shake.hs
3
Shake.hs
@ -86,7 +86,8 @@ main = do
|
|||||||
|
|
||||||
"Shake" %> \out -> do
|
"Shake" %> \out -> do
|
||||||
need [out <.> "hs"]
|
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"
|
putLoud "You can now run ./Shake instead of ./Shake.hs"
|
||||||
|
|
||||||
phony "all" $ need ["docs", "website"]
|
phony "all" $ need ["docs", "website"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user