12 lines
341 B
Makefile
12 lines
341 B
Makefile
.PHONY: dev
|
|
dev:
|
|
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
|
|
|
|
.PHONY: lint
|
|
lint:
|
|
docker run --rm -v $(shell pwd):/app -w /app golangci/golangci-lint:v1.55.2 golangci-lint run ./cmd/minireader
|
|
|
|
.PHONY: sqlc
|
|
sqlc:
|
|
docker run --rm -v $(shell pwd):/app -w /app -u $(shell id -u):$(shell id -g) sqlc/sqlc:1.23.0 generate
|