init.sh: mark new project beginning with a commit
This commit is contained in:
parent
4c8dfa06d4
commit
ff3ec96819
2
init.sh
2
init.sh
|
|
@ -71,3 +71,5 @@ grep -l -r PROJECT_NAME | xargs sed -i "s/PROJECT_NAME/$ident/g"
|
|||
# black magic to convert snake_case to PascalCase
|
||||
pascal=$(echo -n $ident | LC_ALL=C tr '_' '\n' | LC_ALL=C awk -v FIELDWIDTHS='1 1000' -v ORS='' '{print toupper($1) $2}')
|
||||
grep -l -r PROJECTNAME | xargs sed -i "s/PROJECTNAME/$pascal/g"
|
||||
|
||||
git commit -a -m "MORPH INTO: $name"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user