Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FIx travis build: don't count on a globally installed jshint

  • Loading branch information...
commit 97ca0a24eeb63baff0c4c65a32d88bce755d2c52 1 parent 7786fcf
@hmalphettes authored
Showing with 6 additions and 15 deletions.
  1. +4 −14 Makefile
  2. +2 −1  package.json
View
18 Makefile
@@ -3,20 +3,19 @@ MOCHA_OPTS = --timeout 2000
REPORTER = spec
TEST_FILES = test/*.js
TEST_INTEGRATION_FILES = test/integration/*.js
-S3_STOIC=s3cmd -c ~/.s3cmd/.stoic
-S3_NPM_REPO=s3://npm-repo
+BIN = ./node_modules/.bin
lint:
- jshint lib/* test/* --config .jshintrc
+ $(BIN)/jshint lib/* test/* --config .jshintrc
test: lint
- ./node_modules/.bin/mocha \
+ $(BIN)/mocha \
$(MOCHA_OPTS) \
--reporter $(REPORTER) \
$(TEST)
test-integration: lint
- ./node_modules/.bin/mocha \
+ $(BIN)/mocha \
$(MOCHA_OPTS) \
--reporter $(REPORTER) \
$(TEST_INTEGRATION_FILES)
@@ -36,13 +35,4 @@ clean:
[ -d "reports" ] && rm -rf reports || true
[ -d "build" ] && rm -rf build || true
-install-local:
- @npm install
- @npm link ../mapperjs || true
-
-deploy:
- @npm pack
- $(S3_STOIC) put *.tgz $(S3_NPM_REPO)
- rm *.tgz
-
.PHONY: test
View
3  package.json
@@ -29,7 +29,8 @@
"mocha": "*",
"istanbul": "*",
"mocha-istanbul": "*",
- "sandboxed-module": "*"
+ "sandboxed-module": "*",
+ "jshint": "*"
},
"optionalDependencies": {}
}
Please sign in to comment.
Something went wrong with that request. Please try again.