-
Notifications
You must be signed in to change notification settings - Fork 16
/
Makefile
59 lines (41 loc) 路 1.55 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
test:
deno run -A ensure_esbuild_wasm.ts
deno test --unstable -A --coverage=coverage *_test.ts
test-esbuild-deno-loader:
$(MAKE) -C vendor/esbuild_deno_loader test
cov:
deno coverage coverage --lcov > coverage/lcov.info
genhtml -o coverage/html coverage/lcov.info
fmt:
deno fmt *.ts *.md examples docs/twd.ts
fmt-check:
deno fmt --check *.ts *.md examples
lint:
deno lint *.ts
ex-build:
deno run --unstable -A cli.ts build examples/simple/index.html
ex-serve:
deno run --unstable -A cli.ts serve examples/simple/index.html
ex2:
deno run --unstable -A cli.ts serve --static-dir examples/static-dir/static examples/with-imports/index.html
ex2-o:
deno run --unstable -A cli.ts serve -o --static-dir examples/static-dir/static examples/with-imports/index.html
ex2-debug:
deno run --unstable -A cli.ts serve --log-level=debug --static-dir examples/static-dir/static examples/with-imports/index.html
ex2-build:
deno run --unstable -A cli.ts build --static-dir examples/static-dir/static examples/with-imports/index.html
ex2-build-debug:
deno run --unstable -A cli.ts build --log-level=debug --static-dir examples/static-dir/static examples/with-imports/index.html
ex-react:
deno run --unstable -A cli.ts serve examples/react-simple/index.html
ex-rr:
deno run --unstable -A cli.ts serve examples/react-router/index.html
ex-sc:
deno run --unstable -A cli.ts serve -L debug examples/styled-components/index.html
d:
$(MAKE) -C docs d
deploy:
$(MAKE) -C docs d
git add docs/deploy.js
git commit -m "chore: update deploy.js"
.PHONY: test test-esbuild-deno-loader