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-30 21:00:06 +09:00

14 lines
425 B
Bash
Executable file

#!/bin/bash
if [ -e hamlit1 ]; then
echo 'With hamlit1'
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" 2> /dev/null
git grep --name-only hamlit | xargs sed -i "" -e "s/hamlit/hamlit1/g" 2> /dev/null
git mv hamlit.gemspec hamlit1.gemspec
git mv lib/hamlit.rb lib/hamlit1.rb
git mv lib/hamlit lib/hamlit1