Move all files to taking-flight-with-tailwind-css/demo/phpsw/
This commit is contained in:
parent
5e443e3d6e
commit
66a7f44c1e
20 changed files with 0 additions and 0 deletions
36
justfile
36
justfile
|
@ -1,36 +0,0 @@
|
|||
_default:
|
||||
just --list
|
||||
|
||||
build-css:
|
||||
#!/usr/bin/env bash
|
||||
args=()
|
||||
|
||||
if [[ "${NODE_ENV:-}" == "production" ]]; then
|
||||
args=(--minify)
|
||||
else
|
||||
args=(--watch)
|
||||
fi
|
||||
|
||||
npx tailwindcss \
|
||||
--config assets/tailwind.config.ts \
|
||||
--output source/build/tailwind.css "${args[@]}"
|
||||
|
||||
clean:
|
||||
rm -fr output_*/ source/build/
|
||||
|
||||
generate *args:
|
||||
#!/usr/bin/env bash
|
||||
args=()
|
||||
|
||||
if [[ "${APP_ENV:-}" == "production" ]]; then
|
||||
args=(--env="prod")
|
||||
else
|
||||
args=(--server --watch)
|
||||
fi
|
||||
|
||||
./vendor/bin/sculpin generate "${args[@]}" {{ args }}
|
||||
|
||||
start *args:
|
||||
just generate {{ args }} \
|
||||
& just build-css \
|
||||
& wait
|
Loading…
Add table
Add a link
Reference in a new issue