Skip to content

Commit

Permalink
Use bazel for building.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Owsiany committed Feb 1, 2018
1 parent 3aebea2 commit 10db292
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions perfdash/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ TAG = 0.11

PROJ = google_containers

perfdash: perfdash.go parser.go config.go downloader.go google-gcs-downloader.go
CGO_ENABLED=0 GOOS=linux godep go build -a -installsuffix cgo -ldflags '-w' -o perfdash
.PHONY: perfdash
perfdash:
cd .. && bazel build perfdash
cp ../bazel-bin/perfdash/linux_amd64_stripped/perfdash .

container: perfdash
docker build --pull -t gcr.io/$(PROJ)/perfdash:$(TAG) .
Expand Down

0 comments on commit 10db292

Please sign in to comment.