delphi.market/Makefile

22 lines
487 B
Makefile
Raw Normal View History

.PHONY: build run test
SOURCE := $(shell find db env lib lnd public server -type f) main.go
2023-09-09 20:52:50 +00:00
build: delphi.market
delphi.market: $(SOURCE)
2024-07-10 04:11:28 +00:00
tailwindcss -i public/css/_tw-input.css -o public/css/tailwind.css
2024-07-09 20:41:29 +00:00
templ generate -path server/router/pages
go build -o delphi.market .
2023-09-09 20:52:50 +00:00
run:
2024-07-10 04:11:28 +00:00
tailwindcss -i public/css/_tw-input.css -o public/css/tailwind.css
2024-07-09 20:41:29 +00:00
templ generate -path server/router/pages
go run .
2023-09-09 20:52:50 +00:00
2024-07-10 02:48:45 +00:00
dev:
bash hotreload.sh
2023-10-04 13:37:04 +00:00
test:
go test -v -count=1 ./server/router/handler/...