Skip to main content
Module

x/opine/Makefile

Fast, minimalist web framework for Deno ported from ExpressJS.
Go to Latest
File
.PHONY: benchmark build ci deps doc fmt fmt-check lint lock test typedoc FILES_TO_FORMAT = ./src ./benchmarks/ ./test ./examples deps.ts mod.ts version.ts benchmark: @./benchmarks/run.sh 1 ./benchmarks/middleware.ts @./benchmarks/run.sh 5 ./benchmarks/middleware.ts @./benchmarks/run.sh 10 ./benchmarks/middleware.ts @./benchmarks/run.sh 15 ./benchmarks/middleware.ts @./benchmarks/run.sh 20 ./benchmarks/middleware.ts @./benchmarks/run.sh 30 ./benchmarks/middleware.ts @./benchmarks/run.sh 50 ./benchmarks/middleware.ts @./benchmarks/run.sh 100 ./benchmarks/middleware.ts @echo build: @deno run --allow-net="deno.land" --lock=lock.json --reload mod.ts ci: @make fmt-check @make build @make test deps: @npm install -g typescript typedoc doc: @deno doc ./mod.ts fmt: @deno fmt $(FILES_TO_FORMAT) fmt-check: @deno fmt --check $(FILES_TO_FORMAT) lint: @deno lint --unstable lock: @deno run --allow-net="deno.land" --lock=lock.json --lock-write --reload mod.ts test: @deno test --allow-net --allow-read ./test/units/ typedoc: @rm -rf docs @typedoc --ignoreCompilerErrors --out ./docs --mode modules --includeDeclarations --excludeExternals --name opine ./src @make fmt @make fmt @echo 'future: true\nencoding: "UTF-8"\ninclude:\n - "_*_.html"\n - "_*_.*.html"' > ./docs/_config.yaml