Refactor command line arguments and flavours
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Mon, 14 Aug 2017 22:12:52 +0000 (23:12 +0100)
committerAndrey Mokhov <andrey.mokhov@gmail.com>
Mon, 14 Aug 2017 22:12:52 +0000 (23:12 +0100)
commit0530e0df5b9076b1643a2d3b6a4abf4f31041f3c
tree14668fb9c54610418c8a52c4cf50fd8b1d693041
parentdb56cf4eaf15378c3023de4e66a1285376eb6599
Refactor command line arguments and flavours

* Get rid of unsafePerformIO using shakeExtra
* Move diagnostic info utilities to the library

See #347
28 files changed:
hadrian.cabal
src/CmdLineFlag.hs [deleted file]
src/CommandLine.hs [new file with mode: 0644]
src/Flavour.hs
src/Hadrian/Utilities.hs
src/Main.hs
src/Rules.hs
src/Rules/Cabal.hs
src/Rules/Configure.hs
src/Rules/Data.hs
src/Rules/Documentation.hs
src/Rules/Generate.hs
src/Rules/Gmp.hs
src/Rules/Install.hs
src/Rules/Library.hs
src/Rules/Program.hs
src/Rules/Register.hs
src/Rules/Selftest.hs
src/Rules/SourceDist.hs
src/Rules/Test.hs
src/Settings.hs
src/Settings/Builders/Ghc.hs
src/Settings/Builders/GhcCabal.hs
src/Settings/Default.hs
src/Settings/Packages/Base.hs
src/Settings/Packages/Compiler.hs
src/UserSettings.hs
src/Utilities.hs