4
0
mirror of https://github.com/1f349/lavender.git synced 2025-01-12 09:46:28 +00:00
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