Skip to content

Commit c896c1e

Browse files
committed
Set config and placeholders for template
1 parent 0da5590 commit c896c1e

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

cargo-generate.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[template]
2+
# These will not be copied to users project
3+
ignore = ["fill_template.rs"]
4+
exclude = [
5+
# These cause the substitution code to fail
6+
"assets/apple-touch-icon.png",
7+
"assets/favicon-16x16.png",
8+
"assets/favicon-192x192.png",
9+
"assets/favicon-32x32.png",
10+
"assets/favicon-512x512.png",
11+
"assets/favicon.ico",
12+
# These use similar syntax to Liquid and we don't have any changes we need to make
13+
".github",
14+
]
15+
16+
[placeholders]
17+
crate_display_name = { prompt = "Crate display name", default = "eframe template", type = "string" }
18+
pwa_short_name = { prompt = "PWA Short Name", default = "egui-template-pwa", type = "string" }
19+
pwa_name = { prompt = "PWA Short Name", default = "egui Template PWA", type = "string" }
20+
app_struct_identifier = { prompt = "PWA Short Name", default = "TemplateApp", type = "string" }

0 commit comments

Comments
 (0)