🎉 init
This commit is contained in:
commit
f7d5193684
2 changed files with 21 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/examples
|
20
bootstrap.toml
Normal file
20
bootstrap.toml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
[ask]
|
||||||
|
platform = { kind = "selection", prompt = "Game Platform", options = ["wine"] }
|
||||||
|
name = { kind = "text", prompt = "Game Name?" }
|
||||||
|
desc = { kind = "text", prompt = "Game Description?" }
|
||||||
|
|
||||||
|
[[actions.replace]]
|
||||||
|
from = "<GAME_TITLE>"
|
||||||
|
to_var = "name"
|
||||||
|
|
||||||
|
[[actions.replace]]
|
||||||
|
from = "<GAME_DESC>"
|
||||||
|
to_var = "desc"
|
||||||
|
|
||||||
|
[[actions.branch]]
|
||||||
|
when = { var = "platform", eq = "wine"}
|
||||||
|
branch = "wine"
|
||||||
|
|
||||||
|
[[actions.script]]
|
||||||
|
script = "setup.sh"
|
||||||
|
expose = ["name", "desc"]
|
Loading…
Add table
Reference in a new issue