30 lines
472 B
Makefile
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
|