mirror of
https://github.com/1f349/lavender.git
synced 2024-12-22 07:34:06 +00:00
11 lines
175 B
Makefile
11 lines
175 B
Makefile
|
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
|