Skip to content

Commit a084909

Browse files
authored
Add missing build flags to binaries (#412)
1 parent 002fb7d commit a084909

File tree

5 files changed

+10
-2
lines changed

5 files changed

+10
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LINTIGNOREDEPS='vendor/.+\.go'
88
LINTIGNOREPKGCOMMENT='service/[^/]+/doc_custom.go:.+package comment should be of the form'
99
LINTIGNOREENDPOINTS='aws/endpoints/defaults.go:.+(method|const) .+ should be '
1010
UNIT_TEST_TAGS="example codegen awsinclude"
11-
ALL_TAGS="example codegen awsinclude integration perftest"
11+
ALL_TAGS="example codegen awsinclude integration perftest sdktool"
1212

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

5050
gen-tools:
51-
go generate ./internal/awstesting/cmd/op_crawler/
51+
go generate -tags sdktool ./internal/awstesting/cmd/op_crawler/
5252

5353
cleanup-models:
5454
@echo "Cleaning up stale model versions"

example/service/s3/loggingUploadObjectReadBehavior/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// +build example
2+
13
package main
24

35
import (

internal/awstesting/cmd/op_crawler/create_service.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// +build sdktool
2+
13
package main
24

35
import (

internal/awstesting/cmd/op_crawler/generate.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// +build sdktool
2+
13
package main
24

35
//go:generate go run -tags codegen ./codegen/codegen.go ../../../../service

internal/awstesting/cmd/op_crawler/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// +build sdktool
2+
13
package main
24

35
import (

0 commit comments

Comments
 (0)