handle all branches when serving
This commit is contained in:
parent
189b181b13
commit
fa3d16e831
2 changed files with 6 additions and 3 deletions
|
@ -13,14 +13,17 @@ title(){
|
|||
}
|
||||
|
||||
prjname="testproj"
|
||||
testproj="/tmp/$prjname"
|
||||
testproj2="/tmp/testproj2"
|
||||
playgrounddir="/tmp/gpm-playground"
|
||||
testproj="$playgrounddir/$prjname"
|
||||
testproj2="$playgrounddir/testproj2"
|
||||
mkdir -p $testproj
|
||||
pushd $testproj
|
||||
|
||||
title "CLEANING UP"
|
||||
[[ -d $testproj ]] && rm -rf $testproj
|
||||
[[ -d $testproj2 ]] && rm -rf $testproj2
|
||||
[[ -d ~/.local/share/gpm ]] && rm -rf ~/.local/share/gpm
|
||||
gpm serve stop
|
||||
|
||||
title "CREATE PROJECT $testproj"
|
||||
mkdir $testproj
|
||||
|
|
|
@ -100,7 +100,7 @@ handleUpdate _ = do
|
|||
pubPrjDir <- getPublicPrjDir
|
||||
inDir pubPrjDir $ do
|
||||
pwd >>= putText . format fp
|
||||
debug_ "git fetch"
|
||||
debug_ "git fetch --all"
|
||||
|
||||
handleServeStart :: IO ()
|
||||
handleServeStart = do
|
||||
|
|
Loading…
Reference in a new issue