diff --git a/Makefile b/Makefile index f6066046..7d6ba86b 100644 --- a/Makefile +++ b/Makefile @@ -32,14 +32,14 @@ only_build: build build_dotnet: DOTNET_VERSION := $(shell pulumictl get version --language dotnet) build_dotnet: upstream pulumictl get version --language dotnet - $(WORKING_DIR)/bin/$(TFGEN) dotnet --out sdk/dotnet/ + PULUMI_CONVERT=$(PULUMI_CONVERT) $(WORKING_DIR)/bin/$(TFGEN) dotnet --out sdk/dotnet/ cd sdk/dotnet/ && \ printf "module fake_dotnet_module // Exclude this directory from Go tools\n\ngo 1.17\n" > go.mod && \ echo "$(DOTNET_VERSION)" >version.txt && \ dotnet build /p:Version=$(DOTNET_VERSION) build_go: upstream - $(WORKING_DIR)/bin/$(TFGEN) go --out sdk/go/ + PULUMI_CONVERT=$(PULUMI_CONVERT) $(WORKING_DIR)/bin/$(TFGEN) go --out sdk/go/ cd sdk && go list "$$(grep -e "^module" go.mod | cut -d ' ' -f 2)/go/..." | xargs go build build_java: PACKAGE_VERSION := $(shell pulumictl get version --language generic) @@ -51,7 +51,7 @@ build_java: bin/pulumi-java-gen upstream build_nodejs: VERSION := $(shell pulumictl get version --language javascript) build_nodejs: upstream - $(WORKING_DIR)/bin/$(TFGEN) nodejs --out sdk/nodejs/ + PULUMI_CONVERT=$(PULUMI_CONVERT) $(WORKING_DIR)/bin/$(TFGEN) nodejs --out sdk/nodejs/ cd sdk/nodejs/ && \ printf "module fake_nodejs_module // Exclude this directory from Go tools\n\ngo 1.17\n" > go.mod && \ yarn install && \ @@ -62,7 +62,7 @@ build_nodejs: upstream build_python: PYPI_VERSION := $(shell pulumictl get version --language python) build_python: upstream rm -rf sdk/python/ - $(WORKING_DIR)/bin/$(TFGEN) python --out sdk/python/ + PULUMI_CONVERT=$(PULUMI_CONVERT) $(WORKING_DIR)/bin/$(TFGEN) python --out sdk/python/ cd sdk/python/ && \ printf "module fake_python_module // Exclude this directory from Go tools\n\ngo 1.17\n" > go.mod && \ cp ../../README.md . && \