update-hsfiles.sh
This commit is contained in:
parent
b530bb9aaa
commit
2af6882ba1
17
yesod/update-hsfiles.sh
Executable file
17
yesod/update-hsfiles.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash -ex
|
||||||
|
|
||||||
|
rm -rf yesod-scaffold
|
||||||
|
git clone https://github.com/yesodweb/yesod-scaffold yesod-scaffold
|
||||||
|
cd yesod-scaffold
|
||||||
|
|
||||||
|
for branch in `git branch --no-color -a | grep remotes | grep -v HEAD | grep -v master`
|
||||||
|
do
|
||||||
|
git checkout $branch
|
||||||
|
git checkout -b ${branch##*/}
|
||||||
|
done
|
||||||
|
|
||||||
|
git checkout master
|
||||||
|
runghc build.hs
|
||||||
|
cp hsfiles/* ../hsfiles
|
||||||
|
|
||||||
|
rm -rf yesod-scaffold
|
||||||
Loading…
Reference in New Issue
Block a user