Skip to content

Commit

Permalink
deps versions update
Browse files Browse the repository at this point in the history
  • Loading branch information
gspia committed Jun 30, 2016
1 parent b254655 commit a991dde
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -31,6 +31,7 @@ run
./init-sandbox.sh
cabal install

(You may want to look at pull.sh or pullLatestMaster.sh.)
This updates all the Snap Framework dependencies to the correct version,
creates a sandbox, and installs everything. The snap library is built using
[Cabal](http://www.haskell.org/cabal/) and
Expand Down
2 changes: 1 addition & 1 deletion deps/io-streams-haproxy
2 changes: 1 addition & 1 deletion deps/snap-server
Submodule snap-server updated 1 files
+10 −10 snap-server.cabal
2 changes: 1 addition & 1 deletion deps/xmlhtml
20 changes: 20 additions & 0 deletions pullLatestMaster.sh
@@ -0,0 +1,20 @@
#! /bin/sh

# This script is a convenient shortcut for pulling and updating all
# submodules.

# The following gets the versions parent (snap) is pointing, not necessaraly the
# latest.
git pull && git submodule update --init --recursive

# This will get the latest. Use with care..
git submodule foreach "(git checkout master; git pull --recurse-submodules)&"

# This will show, what has changed
# git status

# Haven't tried the following:
# git submodule init
# git submodule update
# git submodule foreach 'git fetch origin; git checkout $(git rev-parse --abbrev-ref HEAD); git reset --hard origin/$(git rev-parse --abbrev-ref HEAD); git submodule update --recursive; git clean -dfx'

0 comments on commit a991dde

Please sign in to comment.