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 22:52:50 +02:00
build: delphi.market
delphi.market: $(SOURCE)
2024-07-10 06:11:28 +02:00
tailwindcss -i public/css/_tw-input.css -o public/css/tailwind.css
2024-07-09 22:41:29 +02:00
templ generate -path server/router/pages
go build -o delphi.market .
2023-09-09 22:52:50 +02:00
run:
2024-07-10 06:11:28 +02:00
tailwindcss -i public/css/_tw-input.css -o public/css/tailwind.css
2024-07-09 22:41:29 +02:00
templ generate -path server/router/pages
go run .
2023-09-09 22:52:50 +02:00
2024-07-10 04:48:45 +02:00
dev:
bash hotreload.sh
2023-10-04 15:37:04 +02:00
test:
go test -v -count=1 ./server/router/handler/...