Files
comp126/Justfile
2024-10-10 13:21:51 -04:00

30 lines
472 B
Makefile

build:
just clean
just compile
just zip
compile:
just shared
bun index.ts
clean:
rm -rf .out
new type name:
zsh ./scripts/new.sh $type $name
link:
echo "linking is disabled"
# zsh ./scripts/link.sh
zip:
zsh ./scripts/zip.sh
shared:
#!/bin/bash
mkdir -p shared
rm -f shared/common.css
bunx tailwindcss -o shared/common.css
bunx lightningcss-cli shared/common.css -o shared/common.css
bunx prettier --write shared/common.css
just link