diff --git a/Makefile b/Makefile index 76c5d7f..ac2e2b2 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,18 @@ -.PHONY: build run test +.PHONY: build run test dev SOURCE := $(shell find db env lib lnd public server -type f) main.go -build: delphi.market delphi.market: $(SOURCE) + npm run build tailwindcss -i public/css/_tw-input.css -o public/css/tailwind.css templ generate -path server/router/pages go build -o delphi.market . +build: delphi.market + run: + npm run build tailwindcss -i public/css/_tw-input.css -o public/css/tailwind.css templ generate -path server/router/pages go run .