Files
comp126/Justfile
Joey Eamigh 52202eeb6f assignment 1
2024-09-20 20:10:37 -04:00

29 lines
441 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:
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