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 ----
|
||||
|
||||
.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
|
||||
|
||||
.PHONY: install_nodejs_sdk
|
||||
install_nodejs_sdk:
|
||||
@if [ -d sdk/nodejs/bin ]; then yarn link --cwd sdk/nodejs/bin; fi
|
||||
@echo
|
||||
@echo "To use the unpublished Node SDK from a local program:"
|
||||
@echo " make build_nodejs && npm install $(WORKING_DIR)/sdk/nodejs"
|
||||
|
||||
.PHONY: lint
|
||||
lint: ## Vet and format-check the provider sources
|
||||
|
||||
Reference in New Issue
Block a user