delphi.market/Makefile
ekzyis ee3e5e82e4 Remove old code
* removed code that will not be used
* removed code that will most likely be rewritten
2024-07-12 11:00:51 +02:00

22 lines
487 B
Makefile

.PHONY: build run test
SOURCE := $(shell find db env lib lnd public server -type f) main.go
build: delphi.market
delphi.market: $(SOURCE)
tailwindcss -i public/css/_tw-input.css -o public/css/tailwind.css
templ generate -path server/router/pages
go build -o delphi.market .
run:
tailwindcss -i public/css/_tw-input.css -o public/css/tailwind.css
templ generate -path server/router/pages
go run .
dev:
bash hotreload.sh
test:
go test -v -count=1 ./server/router/handler/...