-
Notifications
You must be signed in to change notification settings - Fork 50
/
Makefile
28 lines (19 loc) · 806 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.PHONY: build test bundle lint
build: test
lint:
deno lint --ignore=docs/,debug/
test: clean
deno test --allow-all --parallel --reload --quiet --coverage=coverage tests/ jetstream/tests
deno test --allow-all --parallel --reload --quiet --unsafely-ignore-certificate-errors --coverage=coverage unsafe_tests/
testw: clean
deno test --allow-all --unstable --reload --parallel --watch --fail-fast tests/ jetstream/
cover:
deno coverage --unstable ./coverage --lcov > ./coverage/out.lcov
genhtml -o ./coverage/html ./coverage/out.lcov
open ./coverage/html/index.html
clean:
rm -rf ./coverage
bundle:
deno bundle --log-level info --unstable src/mod.ts ./nats.js
fmt:
deno fmt src/ doc/ bin/ nats-base-client/ examples/ tests/ debug/ unsafe_tests/ jetstream/ jetstream.md README.md services.md