You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
305 B

BINARY_NAME=azure-blob-storage-exporter
VERSION=0.1.0
all: lint build
lint:
golint -set_exit_status
build:
go build -ldflags "-X main.buildVersion=$(VERSION)" -o $(BINARY_NAME)
docker-build:
docker build --build-arg version=$(VERSION) -t $(BINARY_NAME):$(VERSION) .
clean:
rm -f $(BINARY_NAME)