Skip to content

Commit

Permalink
Add makefile changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesplain committed Jul 31, 2018
1 parent e5bc382 commit 9afb61a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -747,3 +747,9 @@ bazel-version-dist: bazel-crossbuild-nodeup bazel-crossbuild-kops bazel-protokub
.PHONY: bazel-upload
bazel-upload: bazel-version-dist # Upload kops to S3
aws s3 sync --acl public-read ${BAZELUPLOAD}/ ${S3_BUCKET}

.PHONY: update-machine-type
update-machine-type: #Update machine_types.go
go build -o hack/machine_types/machine_types ${KOPS_ROOT}/hack/machine_types/machine_types.go
hack/machine_types/machine_types
go fmt upup/pkg/fi/cloudup/awsup/machine_types.go
1 change: 1 addition & 0 deletions hack/machine_types/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
machine_types

0 comments on commit 9afb61a

Please sign in to comment.