1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/bin/clone
2015-11-03 13:35:24 +09:00

14 lines
394 B
Bash
Executable file

#!/bin/bash
if [ -e hamlit1 ]; then
echo 'skipped'
exit 0
fi
git clone --depth=1 -b v1.7.2 https://github.com/k0kubun/hamlit hamlit1
cd hamlit1
git grep --name-only Hamlit | xargs sed -i "" -e "s/Hamlit/Hamlit1/g"
git grep --name-only hamlit | xargs sed -i "" -e "s/hamlit/hamlit1/g"
git mv hamlit.gemspec hamlit1.gemspec
git mv lib/hamlit.rb lib/hamlit1.rb
git mv lib/hamlit lib/hamlit1