Makefile updates
* add 'npm run build' as a build step * add dev as PHONY target * switch order of targets
This commit is contained in:
parent
ecee2f2a46
commit
cb5132f2c1
7
Makefile
7
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 .
|
||||
|
|
Loading…
Reference in New Issue