4 Star 43 Fork 3

Gitee 极速下载/Funcraft

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/alibaba/funcraft
克隆/下载
Makefile 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
ChanDaoH 提交于 2020-04-05 13:09 . bump to v3.6.8
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
build:
tsc -p ./
postbuild:
copyfiles -a -u 1 -e "**/*.{js,ts}" "src/**/*" ./
chmod +x bin/*.js
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 build postbuild
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/mirrors/Funcraft.git
git@gitee.com:mirrors/Funcraft.git
mirrors
Funcraft
Funcraft
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385