assignment 1
This commit is contained in:
29
Justfile
Normal file
29
Justfile
Normal file
@@ -0,0 +1,29 @@
|
||||
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
|
||||
Reference in New Issue
Block a user