Skip to content

Commit 80e9814

Browse files
committed
update
1 parent fbb352b commit 80e9814

File tree

4 files changed

+18
-9
lines changed

4 files changed

+18
-9
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ members = [
1515
"crates/rs-cli",
1616
"crates/rs-ffi",
1717
"crates/rs-ffi-core",
18+
"crates/rs-os/rs-macos/try-notification",
1819
# "crates/rs-tonic",
1920
# "crates/rs-tauri-vue/src-tauri",
2021
# "crates/rs-sqlcipher",

Taskfile.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,14 @@ tasks:
118118
vars:
119119
APP_NAME: "crates/rs-cms-migration"
120120

121-
new:
122-
cmds:
123-
- cd ${WORKSPACE}; cargo new --lib ${NEW_PROJECT_NAME}
124121

125-
new:bin:
126-
cmds:
127-
- cd ${WORKSPACE}; cargo new ${NEW_PROJECT_NAME}
128-
129-
new:lib:
122+
# usage:
123+
# - task n -- --lib tmp/demo1
124+
# - task n -- --bin tmp/demo2
125+
new:
126+
aliases: [ "n" ]
130127
cmds:
131-
- cd ${WORKSPACE}; cargo new --lib ${NEW_PROJECT_NAME}
128+
- cargo new {{.CLI_ARGS}}
132129

133130
################################################################################
134131

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[package]
2+
name = "try-notification"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
println!("Hello, world!");
3+
}

0 commit comments

Comments
 (0)