first commit
This commit is contained in:
36
build/node_modules/cheerio/Makefile
generated
vendored
Normal file
36
build/node_modules/cheerio/Makefile
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
REPORTER = dot
|
||||
XYZ = node_modules/.bin/xyz --message 'Release X.Y.Z' --tag X.Y.Z --repo git@github.com:cheeriojs/cheerio.git --script scripts/prepublish
|
||||
|
||||
lint:
|
||||
@./node_modules/.bin/jshint lib/ test/
|
||||
|
||||
test: lint
|
||||
@./node_modules/.bin/mocha --recursive --reporter $(REPORTER)
|
||||
|
||||
setup:
|
||||
@npm install
|
||||
|
||||
subl:
|
||||
@subl lib/ test/ package.json index.js
|
||||
|
||||
test-cov:
|
||||
@./node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --recursive --reporter $(REPORTER)
|
||||
|
||||
report-cov: test-cov
|
||||
@cat coverage/lcov.info | ./node_modules/.bin/coveralls
|
||||
|
||||
travis-test: lint
|
||||
@make report-cov || echo "Couldn't submit"
|
||||
|
||||
bench:
|
||||
@./benchmark/benchmark.js
|
||||
|
||||
.PHONY: release-major release-minor release-patch
|
||||
release-major: LEVEL = major
|
||||
release-minor: LEVEL = minor
|
||||
release-patch: LEVEL = patch
|
||||
|
||||
release-major release-minor release-patch:
|
||||
@$(XYZ) --increment $(LEVEL)
|
||||
|
||||
.PHONY: test build setup subl
|
||||
Reference in New Issue
Block a user