File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -62,17 +62,16 @@ cd closure/library
62
62
if [ " $1 " = " --closure-library-head" ] ; then
63
63
echo " Building against HEAD of Google Closure library..."
64
64
65
- # Check if svn present
66
- type svn > /dev/null 2>&1 || { echo >&2 " Need svn command to checkout HEAD of Google Closure library. Aborting." ; exit 1; }
67
-
68
65
# Existing checkout?
69
- if svn info --non-interactive > /dev/null 2>&1 ; then
66
+ if [ -d closure-library ] ; then
70
67
echo " Updating Google Closure library from HEAD..."
71
- svn update -q --non-interactive
68
+ cd closure-library
69
+ git pull
70
+ cd ..
72
71
else
73
72
echo " Checking out HEAD of Google Closure library..."
74
73
rm -rf *
75
- svn checkout -q --non-interactive https://closure-library.googlecode. com/svn/trunk/ ./
74
+ git clone https://github. com/google/closure-library
76
75
fi
77
76
else
78
77
curl --retry 3 -O -s https://repo1.maven.org/maven2/org/clojure/google-closure-library/$GCLOSURE_LIB_RELEASE /google-closure-library-$GCLOSURE_LIB_RELEASE .jar || { echo " Download failed." ; exit 1; }
@@ -94,8 +93,8 @@ rm closure-compiler-v$CLOSURE_RELEASE.jar
94
93
95
94
if [ " $1 " = " --closure-library-head" ] ; then
96
95
echo " Building lib/goog.jar..."
97
- echo " jar cf ./lib/goog.jar -C closure/library/closure/ goog"
98
- jar cf ./lib/goog.jar -C closure/library/closure/ goog
96
+ echo " jar cf ./lib/goog.jar -C closure/library/closure-library/closure / goog"
97
+ jar cf ./lib/goog.jar -C closure/library/closure-library/closure / goog
99
98
fi
100
99
101
100
echo " Fetching Rhino..."
You can’t perform that action at this time.
0 commit comments