1{-# LANGUAGE TupleSections #-}
8import Options.Applicative
9import Paths_stackage (version)
10import Stackage.CompleteBuild
17 (helpOption <*> versionOption <*> config)
22 abortOption ShowHelpText $
24 help "Show this help text"
27 ("fpbuild version " ++ showVersion version)
29 help "Show fpbuild version")
34 (uncurry completeBuild)
35 (fmap (Nightly, ) buildFlags)
37 "Build, test and upload the Nightly snapshot"
39 (uncurry completeBuild)
40 (fmap (LTS Major, ) buildFlags)
42 "Build, test and upload the LTS (major) snapshot"
44 (uncurry completeBuild)
45 (fmap (LTS Minor, ) buildFlags)
47 "Build, test and upload the LTS (minor) snapshot"
52 "Just check that the build plan is ok"]
53 cmnd exec parse name desc =
64 help "Skip build and running the test suites")) <*>
68 (long "skip-upload" <>
69 help "Skip uploading bundle, docs, etc.")) <*>
71 (long "enable-library-profiling" <>
72 help "Enable profiling when building") <*>
74 (long "verbose" <> short 'v' <>
75 help "Output verbose detail about the build steps")
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list