Ignore compile folder on create project

This commit is contained in:
Bruno Tavares 2014-02-20 15:06:18 -03:00
parent 4229923661
commit 8f9187f034

View File

@ -4,3 +4,4 @@ target=${1:-.}
mkdir -p $target{,/roles,/recipes,/files}
touch $target/{README.md,install.sh,roles/.gitkeep,recipes/.gitkeep,files/.gitkeep}
chmod +x $target/install.sh
[ -f $target/.gitignore ] && echo "compile" > $target/.gitignore || echo "compile" >> $target/.gitignore