Add makefile

This commit is contained in:
Aaron Bieber 2022-12-21 19:28:49 -07:00
parent 627abdb400
commit 8438b18e91

17
Makefile Normal file
View File

@ -0,0 +1,17 @@
all: sqlc tsc build
check:
go vet ./...
staticcheck ./...
tsc: assets/main.js
tsc assets/main.ts
sqlc: queries.sql schema.sql
sqlc generate
build:
go build
run: build
./gostart -name startdev