20 lines
No EOL
346 B
Makefile
20 lines
No EOL
346 B
Makefile
build:
|
|
cd src && go build -o ../immich-exporter.out .
|
|
|
|
dev :
|
|
cd src && go run .
|
|
|
|
dev-env :
|
|
cd src && go run . -e
|
|
|
|
format :
|
|
cd src && test -z $(gofmt -l .)
|
|
|
|
lint:
|
|
docker run --rm -v ./src:/app -w /app golangci/golangci-lint:latest golangci-lint run -v
|
|
|
|
test:
|
|
cd src && go test -v ./tests
|
|
|
|
update:
|
|
cd src && go get -u . && go mod tidy
|