aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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