Add brew make targets to sdk makefiles
This commit is contained in:
parent
f50e2d8c1b
commit
8c314ec39a
|
@ -129,6 +129,7 @@ default:: $(SUB_PROJECTS:%=%_default)
|
|||
all:: $(SUB_PROJECTS:%=%_all)
|
||||
ensure:: $(SUB_PROJECTS:%=%_ensure)
|
||||
dist:: $(SUB_PROJECTS:%=%_dist)
|
||||
brew:: $(SUB_PROJECTS:%=%_brew)
|
||||
endif
|
||||
|
||||
# `core` is like `default` except it does not build sub projects.
|
||||
|
@ -171,6 +172,9 @@ install::
|
|||
dist::
|
||||
$(call STEP_MESSAGE)
|
||||
|
||||
brew::
|
||||
$(call STEP_MESSAGE)
|
||||
|
||||
test_all::
|
||||
$(call STEP_MESSAGE)
|
||||
|
||||
|
@ -218,6 +222,8 @@ $(SUB_PROJECTS:%=%_only_test_fast):
|
|||
@$(MAKE) -C ./$(@:%_only_test_fast=%) only_test_fast
|
||||
$(SUB_PROJECTS:%=%_dist):
|
||||
@$(MAKE) -C ./$(@:%_dist=%) dist
|
||||
$(SUB_PROJECTS:%=%_brew):
|
||||
@$(MAKE) -C ./$(@:%_brew=%) brew
|
||||
endif
|
||||
|
||||
# As a convinece, we provide a format target that folks can build to
|
||||
|
|
|
@ -60,3 +60,6 @@ test_all:: dotnet_test
|
|||
|
||||
dist::
|
||||
go install -ldflags "-X github.com/pulumi/pulumi/sdk/v2/go/common/version.Version=${VERSION}" ${LANGHOST_PKG}
|
||||
|
||||
brew:: dist
|
||||
go install -ldflags "-X github.com/pulumi/pulumi/sdk/v2/go/common/version.Version=${VERSION}" ${LANGHOST_PKG}
|
||||
|
|
|
@ -25,3 +25,5 @@ test_fast:: install
|
|||
|
||||
dist::
|
||||
go install -ldflags "-X github.com/pulumi/pulumi/sdk/v2/go/common/version.Version=${VERSION}" ${LANGHOST_PKG}
|
||||
|
||||
brew:: dist
|
||||
|
|
|
@ -59,3 +59,8 @@ dist:: build
|
|||
go install -ldflags "-X github.com/pulumi/pulumi/sdk/v2/go/common/version.Version=${VERSION}" ${LANGUAGE_HOST}
|
||||
cp dist/pulumi-resource-pulumi-nodejs "$$(go env GOPATH)"/bin/
|
||||
cp dist/pulumi-analyzer-policy "$$(go env GOPATH)"/bin/
|
||||
|
||||
brew::
|
||||
go install -ldflags "-X github.com/pulumi/pulumi/sdk/v2/go/common/version.Version=${VERSION}" ${LANGUAGE_HOST}
|
||||
cp dist/pulumi-resource-pulumi-nodejs "$$(go env GOPATH)"/bin/
|
||||
cp dist/pulumi-analyzer-policy "$$(go env GOPATH)"/bin/
|
||||
|
|
|
@ -49,3 +49,5 @@ dist::
|
|||
cp ./cmd/pulumi-language-python-exec "$$(go env GOPATH)"/bin/
|
||||
cp ./dist/pulumi-resource-pulumi-python "$$(go env GOPATH)"/bin/
|
||||
cp ./dist/pulumi-analyzer-policy-python "$$(go env GOPATH)"/bin/
|
||||
|
||||
brew:: dist
|
||||
|
|
Loading…
Reference in a new issue