@hackage cli-setup0.2.1.1
Helper setup scripts for packaging command-line tools.
Categories
License
BSD-3-Clause
Maintainer
vamchale@gmail.com
Links
Versions
Deprecated
Dependencies (5)
- base >=4.6 && <5
- bytestring
- directory
- file-embed >=0.0.9
- process >=1.4.0.0 Show all…
Dependents (2)
@hackage/ats-pkg, @hackage/acme-everything
Package Flags
development
(off by default)
Enable `-Werror`
cli-setup
Example use taken from madlang's
Setup.hs file:
import Distribution.CommandLine
import Distribution.Simple
main :: IO ()
main = setManpath *>
writeManpages "man/madlang.1" "madlang.1" *>
writeBashCompletions "madlang" *>
defaultMain
Be sure to add man/madlang.1 (or whatever the path to your source file is) to
your .cabal file's extra-source-files field.