Skip to content

Commit

Permalink
add clean target
Browse files Browse the repository at this point in the history
  • Loading branch information
liggitt committed Sep 10, 2017
1 parent 3c8d6be commit aaf4116
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.PHONY: default install build test quicktest fmt vet lint install-deps update-deps
.PHONY: default install build test quicktest fmt vet lint install-deps update-deps clean

default: fmt vet lint build quicktest

run:
go run ./cmd/audit2rbac/audit2rbac.go

install-deps:
install-deps: glide.yaml glide.lock
glide install -v

update-deps:
update-deps: glide.yaml glide.lock
glide update -v

install:
Expand All @@ -23,6 +23,10 @@ test:
quicktest:
go test ./pkg/...

clean:
rm -fr bin
rm -fr vendor

# Capture output and force failure when there is non-empty output
fmt:
@echo gofmt -l ./pkg
Expand Down

0 comments on commit aaf4116

Please sign in to comment.