Permalink
Browse files

Make it quicker to rebuild just one installer

  • Loading branch information...
1 parent 13e13d4 commit 2f6a6db14cd568d55e9d8e2b760c4b9d9abdc80c @hamishmack hamishmack committed Oct 13, 2012
Showing with 22 additions and 4 deletions.
  1. +5 −0 osx/makedmgs.sh
  2. +13 −0 scripts/clean.sh
  3. +0 −4 scripts/stage.sh
  4. +4 −0 win32/makeinstallers.sh
View
@@ -1,9 +1,14 @@
#!/bin/sh
+scripts/clean.sh
PATH=/Users/hamish/Library/Haskell/bin:/Library/Frameworks/GHC.framework/Versions/7.0.3-i386/usr/bin:$PATH osx/makedmg.sh
+scripts/clean.sh
PATH=/Users/hamish/Library/Haskell/bin:/Library/Frameworks/GHC.framework/Versions/7.0.4-i386/usr/bin:$PATH osx/makedmg.sh
+scripts/clean.sh
PATH=/Users/hamish/Library/Haskell/bin:/Library/Frameworks/GHC.framework/Versions/7.4.1-i386/usr/bin:$PATH osx/makedmg.sh
+scripts/clean.sh
PATH=/Users/hamish/Library/Haskell/bin:/Library/Frameworks/GHC.framework/Versions/7.4.2-i386/usr/bin:$PATH osx/makedmg.sh
+scripts/clean.sh
PATH=/Users/hamish/Library/Haskell/bin:$HOME/ghc-7.6.1/bin:$PATH osx/makedmg.sh
View
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# cd ../yi/yi || exit
+# cabal clean || exit
+
+cd ../ltk || exit
+cabal clean || exit
+
+cd ../leksah-server || exit
+cabal clean || exit
+
+cd ../leksah || exit
+cabal clean || exit
View
@@ -26,7 +26,6 @@ cabal install Cabal
#if [ "$GHC_VER" != "6.12.3" ]; then
# LEKSAH_YI_FLAGS="yi -dyre"
# cd ../yi/yi || exit
-# cabal clean || exit
# cabal install --only-dependencies || exit
# cabal configure --flags="pango -vte -vty" --extra-lib-dirs="$GTK_PREFIX/lib" || exit
# cabal build || exit
@@ -36,7 +35,6 @@ cabal install Cabal
#fi
cd ../ltk || exit
-cabal clean || exit
cabal install --only-dependencies || exit
cabal configure || exit
cabal build || exit
@@ -46,15 +44,13 @@ cabal register || exit
export LEKSAH_CONFIG_ARGS="--extra-lib-dirs="$GTK_PREFIX/lib" --datasubdir="$LEKSAH_X_X""
cd ../leksah-server || exit
-cabal clean || exit
cabal install --flags="libcurl" --only-dependencies || exit
cabal configure --flags="libcurl" $LEKSAH_CONFIG_ARGS || exit
cabal build || exit
cabal copy || exit
cabal register || exit
cd ../leksah || exit
-cabal clean || exit
cabal install --flags="$LEKSAH_YI_FLAGS" --only-dependencies || exit
cabal configure --flags="$LEKSAH_YI_FLAGS" $LEKSAH_CONFIG_ARGS || exit
cabal build || exit
View
@@ -1,20 +1,24 @@
#!/bin/sh
+scripts/clean.sh
export PATH='/c/Program Files (x86)/Haskell Platform/2010.2.0.0/bin':$PATH
ghc -V || exit
PATH='/c/Program Files (x86)/Haskell Platform/2011.4.0.0/lib/extralibs/bin':$PATH cabal install haddock-2.8.1
win32/makeinstaller.sh || exit
+scripts/clean.sh
export PATH='/c/Program Files (x86)/Haskell Platform/2011.2.0.1/bin':$PATH
ghc -V || exit
PATH='/c/Program Files (x86)/Haskell Platform/2011.2.0.1/lib/extralibs/bin':$PATH cabal install haddock-2.9.2
win32/makeinstaller.sh || exit
+scripts/clean.sh
export PATH='/c/Program Files (x86)/Haskell Platform/2011.4.0.0/bin':$PATH
ghc -V || exit
PATH='/c/Program Files (x86)/Haskell Platform/2011.4.0.0/lib/extralibs/bin':$PATH cabal install haddock-2.9.2
win32/makeinstaller.sh || exit
+scripts/clean.sh
export PATH='/c/Program Files (x86)/Haskell Platform/2012.2.0.0/bin':$PATH
ghc -V || exit
win32/makeinstaller.sh || exit

0 comments on commit 2f6a6db

Please sign in to comment.