Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add scripts submodule

  • Loading branch information...
commit fe23fdd79a2418148710db1be5207127476c6521 1 parent c2c29a5
@pbrisbin pbrisbin authored
Showing with 4 additions and 43 deletions.
  1. +3 −0  .gitmodules
  2. +0 −43 install-all.sh
  3. +1 −0  scripts
View
3  .gitmodules
@@ -0,0 +1,3 @@
+[submodule "scripts"]
+ path = scripts
+ url = git://github.com/yesodweb/scripts.git
View
43 install-all.sh
@@ -1,43 +0,0 @@
-#!/bin/bash -e
-
-# allow a CABAL env var to override
-CABAL=${CABAL:-cabal}
-
-# install testing dependencies
-$CABAL install HUnit QuickCheck 'hspec >= 0.6.1 && < 0.7'
-
-pkgs=( shakespeare
- shakespeare-css
- shakespeare-js
- shakespeare-text
- hamlet
- )
-
-# install each sub-respository
-for pkg in "${pkgs[@]}"; do
- echo "Installing $pkg..."
-
- (
- cd "./$pkg"
-
- if [ "$1" = "--clean" ]; then
- $CABAL clean
- fi
-
- if ! $CABAL configure --ghc-options="-Wall -Werror"; then
- $CABAL install --only-dependencies
- $CABAL configure --ghc-options="-Wall -Werror"
- fi
- $CABAL build
-
- $CABAL configure --enable-tests
- $CABAL build
- $CABAL test
-
- $CABAL check
- if [ "$1" != "--fast" ]; then
- $CABAL haddock --executables
- fi
- ./Setup.lhs install
- )
-done
1  scripts
@@ -0,0 +1 @@
+Subproject commit 00e2390f2eb601d869e97fc2838cc17f63f0e343
Please sign in to comment.
Something went wrong with that request. Please try again.