Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
let codegen makefile handle more logic
Browse files Browse the repository at this point in the history
  • Loading branch information
joerocklin committed Oct 22, 2018
1 parent 51ad4a7 commit fe2632c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ tag:

.PHONY: install-aws-codegen
install-aws-codegen:
go install -ldflags "-X main.commit=$(commitSHA) -X main.date=$(dateStr)" ./code-generation/cmd/aws-service-operator-codegen
${MAKE} -C code-generation install

.PHONY: aws-codegen
aws-codegen:
Expand Down
4 changes: 4 additions & 0 deletions code-generation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ dateStr := $(shell date +%s)
build:
go build -ldflags "-X main.commit=$(commitSHA) -X main.date=$(dateStr)" ./cmd/aws-service-operator-codegen

.PHONY: install
install: rebuild
go install -ldflags "-X main.commit=$(commitSHA) -X main.date=$(dateStr)" ./cmd/aws-service-operator-codegen

.PHONY: install-bindata
install-bindata:
go get -u github.com/jteeuwen/go-bindata/...
Expand Down

0 comments on commit fe2632c

Please sign in to comment.