Skip to content

Commit

Permalink
Update license.rhai
Browse files Browse the repository at this point in the history
  • Loading branch information
nuke-web3 committed Nov 22, 2024
1 parent a0a73dc commit 4086768
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion generate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ See usage and docs for Rhai scripts:

- https://cargo-generate.github.io/cargo-generate/templates/scripting.rhai-extensions.html
- https://rhai.rs/book/index.html

18 changes: 9 additions & 9 deletions generate/license.rhai
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// This example script asks the users selection of license

let license = variable::prompt("Which license do you want to use?",
"MPL-2.0",
["MPL-2.0",
"MIT",
"AGPL-3.0",
"Apache-2.0",
"Unlicense",
"(Other)",
"None"
]
"MPL-2.0",
["MPL-2.0",
"MIT",
"AGPL-3.0",
"Apache-2.0",
"Unlicense",
"(Other)",
"None"
]
);

if license == "(Other)" {
Expand Down

0 comments on commit 4086768

Please sign in to comment.