| Maintainer | Brandon Chinn <brandonchinn178@gmail.com> |
|---|---|
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Codec.SelfExtract.Distribution
Description
Defines functions that should be used in the Setup.hs file.
Documentation
getExe :: LocalBuildInfo -> String -> IO FilePath Source #
Get the executable with the given name with the given LocalBuildInfo.
main = defaultMainWithHooks simpleUserHooks
{ postCopy = args cf pd lbi -> do
postCopy simpleUserHooks args cf pd lbi
exe <- getExe lbi "name-of-executable"
bundle exe "./static/"
}