do not forget to update the repo before cloning

This commit is contained in:
Yann Esposito (Yogsototh) 2018-10-21 16:48:52 +02:00
parent 752aeeab14
commit 189b181b13
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -21,6 +21,7 @@ pushd $testproj
title "CLEANING UP" title "CLEANING UP"
[[ -d $testproj ]] && rm -rf $testproj [[ -d $testproj ]] && rm -rf $testproj
[[ -d $testproj2 ]] && rm -rf $testproj2 [[ -d $testproj2 ]] && rm -rf $testproj2
title "CREATE PROJECT $testproj" title "CREATE PROJECT $testproj"
mkdir $testproj mkdir $testproj
pushd $testproj pushd $testproj
@ -30,17 +31,22 @@ git add README
git commit -m "initial commit" git commit -m "initial commit"
title "gpm init" title "gpm init"
gpm init gpm init
title "gpm new-issue" title "gpm new-issue"
gpm new-issue -t "issue-1" -p "A" gpm new-issue -t "issue-1" -p "A"
title "HOOKS" title "HOOKS"
git co gpm git co gpm
cp hooks/prepare-commit-msg{.sample,} cp hooks/prepare-commit-msg{.sample,}
git add hooks git add hooks
git commit -m "updated the prepare-commit-msg git hook" git commit -m "updated the prepare-commit-msg git hook"
git co master git co master
title "gpm hooks sync" title "gpm hooks sync"
gpm hooks sync gpm hooks sync
title "gpm serve start" title "gpm serve start"
gpm serve update
gpm serve start gpm serve start
popd popd
mkdir $testproj2 mkdir $testproj2