Modify rename script
This commit is contained in:
parent
90b67731ce
commit
f3f6703829
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ set -e
|
|||
PROJECT_NAME="$1"
|
||||
echo $PROJECT_NAME
|
||||
|
||||
sed -i.bak "s/nimtemplate/$PROJECT_NAME/g" tests/test.nim src/nimtemplate.nim
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue