๐Ÿ‘ฉโ€๐Ÿš’ Firefighters API written in Gleam!
lustre gleam

:hammer: build css files before container

kacaii.dev c44fa0b4 34317473

verified
+10 -3
+1
.dockerignore
··· 15 15 .sqruff 16 16 17 17 # client 18 + client/node_modules 18 19 client/build 19 20 client/dev 20 21 cliend/test
+8 -3
client/justfile
··· 5 5 just --list 6 6 7 7 # Build CSS and JS runtime 8 - build: 8 + build: tailwind-build 9 + gleam run -m lustre/dev build 10 + 11 + # generate css 12 + tailwind-build: 13 + npm ci || npm install 9 14 npx @tailwindcss/cli -i {{ input_css }} -o {{ output_css }} 10 - gleam run -m lustre/dev build 11 15 12 - # Watch for file changes 16 + # Watch for file changes and generate css 13 17 tailwind-watch: 18 + npm ci || npm install 14 19 npx @tailwindcss/cli -i {{ input_css }} -o {{ output_css }} --watch 15 20 16 21 # Update project dependencies
+1
justfile
··· 72 72 # Build application container 73 73 [group("podman")] 74 74 _build-backend: 75 + just client::tailwind-build 75 76 @podman build -t backend . 76 77 77 78 # Create pod