1 Star 0 Fork 3

小潭渔/Funcraft

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 970 Bytes
一键复制 编辑 原始数据 按行查看 历史
vangie 提交于 2019-09-12 09:30 . try to fix nas server version bug (#414)
TEST_FOLDER ?= ./test/
TEST_FILES ?= *.test.js
REPORTER = spec
TIMEOUT = 20000
MOCHA = ./node_modules/mocha/bin/_mocha
PATH := ./node_modules/.bin:$(PATH)
SHELL := /bin/bash
lint:
@npm run lint
validate-lint:
@npm run validate-lint
integration-test:
@mocha $(TEST_FOLDER) -t $(TIMEOUT) -R spec --recursive -name $(TEST_FILES) --grep ^Integration::
unit-test:
@mocha $(TEST_FOLDER) -t $(TIMEOUT) -R spec --recursive -name $(TEST_FILES) --grep '^(?!Integration::).*'
test: lint unit-test
test-cov:
@nyc --reporter=html --reporter=text mocha $(TEST_FOLDER) -t $(TIMEOUT) -R spec --recursive -name $(TEST_FILES)
test-coveralls:
@nyc mocha -t $(TIMEOUT) -R spec $(TESTS)
@echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
@nyc report --reporter=text-lcov | coveralls
clean:
@rm -rf output
binary: clean package-fun-nas-server
@script/binary.sh
package-fun-nas-server:
make -C ./lib/utils/fun-nas-server package
upload:
@script/upload.sh
.PHONY: test clean binary
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/XiaoTanYu/Funcraft.git
git@gitee.com:XiaoTanYu/Funcraft.git
XiaoTanYu
Funcraft
Funcraft
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385