File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ app_name ?= {{ package_name }}
2+
13all: test lint format docker compose
24
5+ start:
6+ ./target/release/{{ app_name }}
7+
38dev:
49 cargo watch -x run
510
Original file line number Diff line number Diff line change 22
33[template ]
44cargo_generate_version = " >=0.22.0"
5- ignore = [" * .png, Cargo.toml" ]
5+ ignore = [" assets/wallpaper .png, Cargo.toml" ]
66
77[placeholders .package_name ]
88type = " string"
@@ -62,7 +62,4 @@ type = "string"
6262name = " sentry_dsn"
6363prompt = " What is your sentry dsn?"
6464default = " https://examplePublicKey@o0.ingest.sentry.io/0"
65-
66- # # Files
67- [conditional . 'sentry == false' ]
68- ignore = [" ./src/functions.rs" , " .env.example" ]
65+ include = [" .env.example" , " ./src/functions.rs" ]
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ fn main() {
1111 load_sentry();
1212 {% endif %}
1313 const SLEEP_MESSAGE: &str = "Sleep forever...";
14- const HELLO_SENTRY: &str = "Hello, sentry!";
1514 println!("{}", SLEEP_MESSAGE);
1615 sleep(std::time::Duration::from_millis(f64::INFINITY as u64));
1716}
You can’t perform that action at this time.
0 commit comments