sepiatones_xyz/justfile

26 lines
490 B
Makefile

install:
bun install
dev:
bun run --watch src/index.tsx
build:
bun build --compile --minify --target bun --outfile ./target/sepiatones_xyz ./src/index.tsx
deploy: build
rsync -avz target/sepiatones_xyz sepiatonesxyz:~/sepiatones_xyz/sepiatones_xyz
rsync -avz --delete public/ sepiatonesxyz:~/sepiatones_xyz/public
test:
bun test
check:
bunx tsc --noEmit --skipLibCheck
clean:
rm -rf node_modules
rm -rf dist
format:
bun run prettier . --write