Skip to content

Instantly share code, notes, and snippets.

@ytnobody
Created August 21, 2013 07:55
Show Gist options
  • Save ytnobody/6291519 to your computer and use it in GitHub Desktop.
Save ytnobody/6291519 to your computer and use it in GitHub Desktop.
migration nephia to primalnephia
#!/bin/sh
PROJ_DIR=$1 ; shift
cd $PROJ_DIR
git mv lib/Nephia lib/PrimalNephia
find ./* ./.gitignore -type f | xargs sed -i 's/Nephia/PrimalNephia/g; s/nephia-setup/primalnephia-setup/g;'
git add . && minil build && minil test && git add . && git commit -m 'rename' && git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment