Initial commit

This commit is contained in:
Joey Yakimowich-Payne 2022-11-27 14:26:25 -07:00 committed by GitHub
commit c2c19fffd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 111 additions and 0 deletions

11
rename.bash Executable file
View file

@ -0,0 +1,11 @@
set -e
PROJECT_NAME="$1"
echo $PROJECT_NAME
sed -i.bak "s/nimtemplate/$PROJECT_NAME/g" tests/test.nim src/nimtemplate.nim nimtemplate.nimble
mv src/nimtemplate src/$PROJECT_NAME
mv src/nimtemplate.nim src/$PROJECT_NAME.nim
mv nimtemplate.nimble $PROJECT_NAME.nimble