gostart/Makefile
2023-05-18 13:10:25 -06:00

21 lines
330 B
Makefile

all: sqlc elm build
check:
go vet ./...
staticcheck ./...
elm: src/Main.elm
elm make src/Main.elm --output=assets/main.js
sqlc: queries.sql schema.sql
sqlc generate
build:
go build
watch:
echo src/Main.elm | entr -r elm make src/Main.elm --output=assets/main.js
run: sqlc build
./gostart -name startdev -db ./test.db