From cd7cf0434f173b3ac135f2678ab38d1bc82f19c4 Mon Sep 17 00:00:00 2001 From: msi Date: Sun, 16 Nov 2025 12:28:25 -0300 Subject: Add lib template --- Justfile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Justfile') 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 + -- cgit v1.2.3