Skip to content

Commit 96f766e

Browse files
committed
npm publish 2015.4.18-a
1 parent f6e2a94 commit 96f766e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ $(./index.js $ARG0 eval 'console.log(\"hello\"); phantom.exit();') = 'hello' \
130130
printf \"passed\n\" || exit $?; \
131131
done"
132132
},
133-
"version": "2015.4.9-a"
133+
"version": "2015.4.18-a"
134134
}
135135
```
136136

@@ -170,13 +170,18 @@ shBuild() {
170170
# run npm-test
171171
MODE_BUILD=npmTest shRunScreenCapture npm test || return $?
172172
173+
# do not continue if running legacy node
174+
[ "$(node --version)" \< "v0.12" ] && return
175+
173176
# if number of commits > 1024, then squash older commits
174177
shRun shGitBackupAndSquashAndPush 1024 > /dev/null || return $?
175178
}
176179
shBuild
177180
178181
# save exit-code
179182
EXIT_CODE=$?
183+
184+
# do not continue if running legacy node
180185
[ "$(node --version)" \< "v0.12" ] && exit $EXIT_CODE
181186
182187
shBuildCleanup() {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@
3535
"preinstall": "touch phantomjs slimerjs",
3636
"test": "node_modules/.bin/utility2 shRun shReadmePackageJsonExport && for ARG0 in phantomjs slimerjs; do printf \"testing $ARG0\n\" || exit $?; [ $(./index.js $ARG0 eval 'console.log(\"hello\"); phantom.exit();') = 'hello' ] || exit $?; printf \"passed\n\" || exit $?; done"
3737
},
38-
"version": "2015.4.9-a"
38+
"version": "2015.4.18-a"
3939
}

0 commit comments

Comments
 (0)