Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 37 lines (24 sloc) 0.678 kB
#!/bin/bash
set -e
# Latest as of June 18, 2012.
CLOJURE_SHA="94842f17680db1238694500ab6608b5e7ebd7427"
[ ! -e clojure ] && git clone git://github.com/clojure/clojure.git
cd clojure
git fetch origin
git reset --hard $CLOJURE_SHA
for i in `git status --porcelain|cut -d \ -f 2`; do rm -rf $i; done
git reset --hard $CLOJURE_SHA
for i in `cat ../patches/patch-order.txt`; do
echo " applying" $i
git am --keep-cr -s < ../patches/$i
done
MAVEN_OPTS="-Djava.awt.headless=true"
mvn package > ../build.log
if [ ! 0 -eq $? ]; then
echo "build failed, see build.log"
else
TAG=`date +%Y-%m-%d'T'%H%M%z`
cd ..
echo $TAG
git tag -am $TAG $TAG
fi
Jump to Line
Something went wrong with that request. Please try again.