Skip to content
Snippets Groups Projects
Unverified Commit 869ecdce authored by f-a's avatar f-a Committed by GitHub
Browse files

(cabal init) Suggest BSD-3-Clause as default (#8764)


* (cabal init) make BSD-3-Clause default

* Add changelog for #8757

* Modify test to incorporate new BDS-3 default

---------

Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent a5765afe
No related branches found
No related tags found
No related merge requests found
...@@ -336,7 +336,7 @@ licensePrompt flags = getLicense flags $ do ...@@ -336,7 +336,7 @@ licensePrompt flags = getLicense flags $ do
let csv = fromFlagOrDefault defaultCabalVersion (cabalVersion flags) let csv = fromFlagOrDefault defaultCabalVersion (cabalVersion flags)
l <- promptList "Please choose a license" l <- promptList "Please choose a license"
(licenses csv) (licenses csv)
MandatoryPrompt (DefaultPrompt "BSD-3-Clause")
Nothing Nothing
True True
......
...@@ -6,7 +6,7 @@ main = cabalTest $ ...@@ -6,7 +6,7 @@ main = cabalTest $
buildOut <- withDirectory cwd $ do buildOut <- withDirectory cwd $ do
cabalWithStdin "init" ["-i"] cabalWithStdin "init" ["-i"]
"2\n\n5\n\n\n2\n\n\n\n\n\n\n\n\n\n" "2\n\n5\n\n\n\n\n\n\n\n\n\n\n\n\n"
setup "configure" [] setup "configure" []
setup' "build" ["app"] setup' "build" ["app"]
......
synopsis: cabal init: suggest BSD-3 as default license
packages: cabal-install
prs: #8764
issues: #8757
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment