lavender/Makefile

11 lines
175 B
Makefile
Raw Normal View History

2024-09-02 22:54:03 +01:00
SQL_SRC_DIR := database
SQL_FILES := $(wildcard $(SQL_SRC_DIR)/{migrations,queries}/*.sql)
all: sqlc
sqlc: $(SQL_FILES)
sqlc generate
build: sqlc
go build ./cmd/lavender