Drop the yarn link step from make install
This commit is contained in:
9
Makefile
9
Makefile
@@ -64,12 +64,11 @@ build_dotnet: tfgen
|
|||||||
# ------------------------------------------------------------------ local ----
|
# ------------------------------------------------------------------ local ----
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: provider install_nodejs_sdk ## Install the plugin locally so `pulumi up` can find it
|
install: provider ## Install the plugin locally so `pulumi up` can find it
|
||||||
pulumi plugin install resource $(PACK) $(VERSION) --file $(WORKING_DIR)/bin/$(PROVIDER) --reinstall
|
pulumi plugin install resource $(PACK) $(VERSION) --file $(WORKING_DIR)/bin/$(PROVIDER) --reinstall
|
||||||
|
@echo
|
||||||
.PHONY: install_nodejs_sdk
|
@echo "To use the unpublished Node SDK from a local program:"
|
||||||
install_nodejs_sdk:
|
@echo " make build_nodejs && npm install $(WORKING_DIR)/sdk/nodejs"
|
||||||
@if [ -d sdk/nodejs/bin ]; then yarn link --cwd sdk/nodejs/bin; fi
|
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint: ## Vet and format-check the provider sources
|
lint: ## Vet and format-check the provider sources
|
||||||
|
|||||||
Reference in New Issue
Block a user