Skip to content

Commit

Permalink
Create test directory for minio-js tests to run (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
nitisht authored Aug 3, 2017
1 parent 8c0fdb3 commit 0709c98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/js/minio-js.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ _init() {
# Compile test files
install() {
#TODO - Change this to release based URL once we make a minio-js release
curl https://raw.githubusercontent.com/minio/minio-js/master/src/test/functional/functional-tests.js > "${MINIO_JS_SDK_PATH}"/functional-tests.js
mkdir "${MINIO_JS_SDK_PATH}"/test
curl https://raw.githubusercontent.com/minio/minio-js/master/src/test/functional/functional-tests.js > "${MINIO_JS_SDK_PATH}"/test/functional-tests.js
npm --prefix "$MINIO_JS_SDK_PATH" install --save "minio@$MINIO_JS_SDK_VERSION"
npm --prefix "$MINIO_JS_SDK_PATH" install
}
Expand Down

0 comments on commit 0709c98

Please sign in to comment.