aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGuillermo Ramos2025-03-15 13:16:34 +0100
committerGuillermo Ramos2025-03-15 13:31:33 +0100
commit8dff02998db9eac1efacf555ccbdec198d7fe213 (patch)
tree64900ce5d82519ce54e87d18cbfa4f509be32c38 /Makefile
parent5feb5cf771d473ff9f55be40169ca5db2bafd268 (diff)
downloadhiccup-8dff02998db9eac1efacf555ccbdec198d7fe213.tar.gz
Self hosted TailwindCSS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 3e5d45b..1051cc7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,13 @@
-build:
- cd front && elm make src/Main.elm --output main.js
- cargo build -r
+cli: build
+ target/release/cli
-serve: build
+web: front build
target/release/web
-cli: build
- target/release/cli
+front:
+ cd front && tailwindcss -mo main.css && elm make src/Main.elm --output main.js
+
+build:
+ cargo build -r
-.PHONY: build serve
+.PHONY: front build web cli