File tree 4 files changed +17
-1
lines changed
4 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,9 @@ branches:
5
5
node_js :
6
6
- 0.8
7
7
- 0.10
8
+ - 0.11
9
+ before_install :
10
+ - sudo apt-get update
11
+ - sudo apt-get install openjdk-7-jre
12
+ - sudo wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein -O /usr/bin/lein
13
+ - sudo chmod +x /usr/bin/lein
Original file line number Diff line number Diff line change @@ -41,4 +41,11 @@ chmod +x $LEIN_PREFER
41
41
42
42
fi
43
43
44
+ if [[ ! -f $LEIN_PREFER ]]; then
45
+
46
+ echo " Failed to find or set up Leiningen"
47
+ exit 1
48
+
49
+ fi
50
+
44
51
$LEIN_PREFER $@
Original file line number Diff line number Diff line change 42
42
"build" : " ./scripts/build.sh" ,
43
43
"build-clean" : " ./scripts/build_clean.sh" ,
44
44
"clean" : " ./scripts/clean.sh" ,
45
- "prepublish" : " npm run-script build-clean"
45
+ "prepublish" : " npm run-script build-clean" ,
46
+ "test" : " jasmine-node spec"
46
47
},
47
48
"directories" : {
48
49
"test" : " ./spec"
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
+ set -e
4
+
3
5
./bin/lein_prefer deps
4
6
./bin/lein_prefer cljsbuild once release
5
7
You can’t perform that action at this time.
0 commit comments