26 lines
448 B
Makefile
Executable File
26 lines
448 B
Makefile
Executable File
install:
|
|
bun install
|
|
|
|
dev:
|
|
bun run --watch src/index.ts
|
|
|
|
build:
|
|
bun build --compile --minify --target bun --outfile ./target/gomoku ./src/index.ts
|
|
|
|
deploy: build
|
|
rsync -avz target/gomoku sepiatonesxyz:~/gomoku/gomoku
|
|
rsync -avz --delete public/ sepiatonesxyz:~/gomoku/public
|
|
|
|
test:
|
|
bun test
|
|
|
|
check:
|
|
bunx tsc --noEmit --skipLibCheck
|
|
|
|
clean:
|
|
rm -rf node_modules
|
|
rm -rf dist
|
|
|
|
format:
|
|
bun run prettier . --write
|