Skip to content

Commit

Permalink
chore: cleanup make file and minor fixes (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
sravankorumilli authored Jan 4, 2022
1 parent b547d74 commit 52860dd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ LAST_TAG := "$(shell git rev-list --tags --max-count=1)"
OPMS_VERSION := "$(shell git describe --tags ${LAST_TAG})-next"
PROTON_COMMIT := "4eed966804481fc19c02ce99c2df9fb3907899d0"

all: build
.PHONY: build test generate pack-files generate-proto unit-test smoke-test integration-test vet coverage clean install

.PHONY: build smoke-test unit-test test clean generate dist init vet
.DEFAULT_GOAL := build

build: generate # build optimus binary
@echo " > building optimus version ${OPMS_VERSION}"
Expand Down Expand Up @@ -46,9 +46,6 @@ vet: ## run go vet
coverage: ## print code coverage
go test -race -coverprofile coverage.txt -covermode=atomic ./... -tags=unit_test && go tool cover -html=coverage.txt

dist: generate
@bash ./scripts/build-distributables.sh

clean:
rm -rf ./optimus ./dist ./api/proto/* ./api/third_party/odpf/*

Expand Down

0 comments on commit 52860dd

Please sign in to comment.