test:
deno run -A ensure_esbuild_wasm.ts
deno test -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
ex-build:
deno run -A cli.ts build examples/simple/index.html
ex-serve:
deno run -A cli.ts serve examples/simple/index.html
ex2:
deno run -A cli.ts serve --static-dir examples/static-dir/static examples/with-imports/index.html
ex2-o:
deno run -A cli.ts serve -o --static-dir examples/static-dir/static examples/with-imports/index.html
ex2-debug:
deno run -A cli.ts serve --log-level=debug --static-dir examples/static-dir/static examples/with-imports/index.html
ex2-build:
deno run -A cli.ts build --static-dir examples/static-dir/static examples/with-imports/index.html
ex2-build-debug:
deno run -A cli.ts build --log-level=debug --static-dir examples/static-dir/static examples/with-imports/index.html
ex-react:
deno run -A cli.ts serve examples/react-simple/index.html
ex-rr:
deno run -A cli.ts serve examples/react-router/index.html
ex-sc:
deno run -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