Skip to content

Commit

Permalink
Add missing build flags to binaries (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
skmcgrail authored Oct 4, 2019
1 parent 002fb7d commit a084909
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LINTIGNOREDEPS='vendor/.+\.go'
LINTIGNOREPKGCOMMENT='service/[^/]+/doc_custom.go:.+package comment should be of the form'
LINTIGNOREENDPOINTS='aws/endpoints/defaults.go:.+(method|const) .+ should be '
UNIT_TEST_TAGS="example codegen awsinclude"
ALL_TAGS="example codegen awsinclude integration perftest"
ALL_TAGS="example codegen awsinclude integration perftest sdktool"

# SDK's Core and client packages that are compatable with Go 1.9+.
SDK_CORE_PKGS=./aws/... ./private/... ./internal/...
Expand Down Expand Up @@ -48,7 +48,7 @@ gen-endpoints:
go generate ./models/endpoints

gen-tools:
go generate ./internal/awstesting/cmd/op_crawler/
go generate -tags sdktool ./internal/awstesting/cmd/op_crawler/

cleanup-models:
@echo "Cleaning up stale model versions"
Expand Down
2 changes: 2 additions & 0 deletions example/service/s3/loggingUploadObjectReadBehavior/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build example

package main

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/awstesting/cmd/op_crawler/create_service.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build sdktool

package main

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/awstesting/cmd/op_crawler/generate.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build sdktool

package main

//go:generate go run -tags codegen ./codegen/codegen.go ../../../../service
Expand Down
2 changes: 2 additions & 0 deletions internal/awstesting/cmd/op_crawler/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build sdktool

package main

import (
Expand Down

0 comments on commit a084909

Please sign in to comment.