File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 1- TOOLS := ${CURDIR}/.tools
1+ TARGETS := $$( find . -name '*.ts' -or -name '*.md' )
22
33.DEFAULT_GOAL := help
44
77 perl -ne ' print if /^\w+.*##/;' | \
88 perl -pe ' s/(.*):.*##\s*/sprintf("%-20s",$$1)/eg;'
99
10- tools : FORCE # # Install development tools
11- @mkdir -p ${TOOLS}
12- @deno install -A -f -n udd --root
${TOOLS} https://deno.land/x/
[email protected] /main.ts
13-
1410fmt : FORCE # # Format code
15- @deno fmt --ignore=.deno
11+ @deno fmt
1612
1713fmt-check : FORCE # # Format check
18- @deno fmt --check --ignore=.deno
14+ @deno fmt --check
1915
2016lint : FORCE # # Lint code
21- @deno lint --ignore=.deno
17+ @deno lint
2218
2319type-check : FORCE # # Type check
24- @deno test --unstable -- no-run $$( find . -name '*.ts' -not -name '.deno' )
20+ @deno test --no-run ${TARGETS}
2521
2622test : FORCE # # Test
27- @deno test --no-check --unstable - A --jobs
23+ @deno test -A --no-check
2824
29- update : FORCE # # Update dependencies
30- @${TOOLS} /bin/udd $$( find . -name '*.ts' -not -name '.deno' )
25+ deps : FORCE # # Update dependencies
26+ @
deno run -A https://deno.land/x/[email protected] /main.ts ${TARGETS} 3127 @make fmt
3228
3329FORCE :
You can’t perform that action at this time.
0 commit comments