Skip to content

Instantly share code, notes, and snippets.

@ytnobody
Created September 4, 2013 00:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ytnobody/6431528 to your computer and use it in GitHub Desktop.
Save ytnobody/6431528 to your computer and use it in GitHub Desktop.
#!/bin/sh
PROJ_DIR=$1 ; shift
git clone git@github.com:ytnobody/$PROJ_DIR.git
cd $PROJ_DIR
git mv lib/Voson lib/Nephia
find ./* ./.gitignore -type f | xargs sed -i 's/Voson/Nephia/g; s/voson-setup/nephia-setup/g;'
git add . && minil build && minil test && git add . && git commit -m 'rename' && git push
cpanm .
###
### usage: ./nephia_migrate.sh Voson-Plugin-Someone
###
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment