create-project
This commit is contained in:
parent
9ce065125b
commit
e51796a317
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
nix develop . --command bash -c "cargo new $1"
|
||||
|
||||
cp "$1/*" .
|
||||
cp -r "$1"/* .
|
||||
|
||||
rm -fr "$1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue