aboutsummaryrefslogtreecommitdiffstats
path: root/Justfile
diff options
context:
space:
mode:
Diffstat (limited to 'Justfile')
-rw-r--r--Justfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Justfile b/Justfile
index 8e02b11..1f0bdc5 100644
--- a/Justfile
+++ b/Justfile
@@ -3,6 +3,7 @@ default:
generate-all:
just web
+ just lib
web $CARGO_NAME="your name" $CARGO_EMAIL="author@example.com":
rm -rv web-generated
@@ -11,3 +12,10 @@ web $CARGO_NAME="your name" $CARGO_EMAIL="author@example.com":
--define project-description="An example generated using the web template" \
--define use-gitserver=false
+lib $CARGO_NAME="your name" $CARGO_EMAIL="author@example.com":
+ rm -rv lib-generated
+ cargo generate --path ./lib \
+ --name lib-generated \
+ --define project-description="An example generated using the lib template" \
+ --define use-gitserver=false
+