1 Star 10 Fork 2

lucifer/jsrepair

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 723 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhi.zhou 提交于 2016-08-01 11:08 . fix travis ci
TESTS = tests/*.js
REPORTER = spec
HARMONY = node --harmony
TIMEOUT = 20000
ISTANBUL = $(HARMONY) ./node_modules/istanbul/lib/cli.js
MOCHA = ./node_modules/mocha/bin/_mocha
COVERALLS = ./node_modules/coveralls/bin/coveralls.js
HINT = ./node_modules/.bin/jshint
check:
@$(HINT) .
test:
@NODE_ENV=test $(HARMONY) $(MOCHA) -R $(REPORTER) -t $(TIMEOUT) \
$(MOCHA_OPTS) \
$(TESTS)
test-cov:
@$(ISTANBUL) cover --report html $(MOCHA) -- -t $(TIMEOUT) -R spec $(TESTS)
test-coveralls:
@$(ISTANBUL) cover --report lcovonly $(MOCHA) -- -t $(TIMEOUT) -R spec $(TESTS)
@echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
@cat ./coverage/lcov.info | $(COVERALLS) && rm -rf ./coverage
test-all: check test test-coveralls
.PHONY: test
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/golong/jsrepair.git
git@gitee.com:golong/jsrepair.git
golong
jsrepair
jsrepair
master

搜索帮助