blob: 6901769d2e48527816cc666349f75077811c97a4 [file] [log] [blame]
# NOTE: you have to use tabs in this file for make. Not spaces.
# https://stackoverflow.com/questions/920413/make-error-missing-separator
# https://tutorialedge.net/golang/makefiles-for-go-developers/
hello:
echo "Hello"
build-plugin:
@sh scripts/compile-plugins.sh
build: build-plugin
go build -o bin/lake
dev: build
bin/lake
run:
go run main.go
configure:
cd config-ui; yarn; npm run dev;
compose:
docker-compose up grafana
compose-down:
docker-compose down
commit:
git cz
install:
go clean --modcache
go get
test: unit-test e2e-test
unit-test: build
ENV_FILE=`pwd`/.env go test -v $$(go list ./... | grep -v /test/)
e2e-test: build
ENV_FILE=`pwd`/.env go test -v ./test/...
lint:
golangci-lint run
clean:
@rm -rf bin