26 lines
432 B
Makefile
26 lines
432 B
Makefile
# Lists the available actions
|
|
default:
|
|
@just --list
|
|
|
|
# Typescript checking
|
|
check:
|
|
deno check --unstable --all -c deno.jsonc ./src/deno/*.ts ./src/common/*.ts
|
|
|
|
# Code linting
|
|
deno-lint:
|
|
deno lint
|
|
|
|
# Reformat the code
|
|
fmt:
|
|
deno fmt
|
|
|
|
# Run with bun
|
|
bun-run:
|
|
bun run ./src/scroll.ts
|
|
|
|
# Run with deno
|
|
deno-run:
|
|
deno run --allow-all --allow-ffi --deny-net --deny-hrtime --unstable ./src/scroll.ts
|
|
|
|
deno-test:
|
|
deno test --allow-all
|