We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--release
--flag
1 parent a07bf3f commit b38b29fCopy full SHA for b38b29f
bootstrap/src/Fpm.hs
@@ -582,6 +582,9 @@ toml2AppSettings tomlSettings args = do
582
Build { buildFlags = f } -> f
583
Run { runFlags = f } -> f
584
Test { testFlags = f } -> f
585
+ when (release && (length specifiedFlags > 0)) $ do
586
+ putStrLn "--release and --flag are mutually exclusive"
587
+ exitWith (ExitFailure 1)
588
librarySettings <- getLibrarySettings $ tomlSettingsLibrary tomlSettings
589
executableSettings <- getExecutableSettings
590
(tomlSettingsExecutables tomlSettings)
0 commit comments