-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework program logic around CmdLineArgs
New data type CmdLineArgs represents the possible options passed to haskell-updater on the command line. This is converted into a HUMode which more accurately represents valid modes for haskell-updater. RunModifier is slimmed down and now primarily used as a piece in the HUMode ADT. BuildTarget and RunMode are moved to Distribution.Gentoo.CmdLine.Types Logic to detect incompatible command line options has been moved from getPackageState in Main to mkHUMode in Distribution.Gentoo.CmdLine Signed-off-by: hololeap <[email protected]>
- Loading branch information
Showing
6 changed files
with
238 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.