Skip to content

Commit

Permalink
improved up and update targets
Browse files Browse the repository at this point in the history
  • Loading branch information
fieg committed Nov 29, 2021
1 parent 8016f77 commit adf5c95
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ SEMVER=prerelease --preid=beta
EXAMPLES=$(dir $(wildcard examples/*/package.json))

install:
npm install
npm ci
npm run build
$(foreach ex,$(EXAMPLES),(cd $(ex) && npm install && npm run link && npm run build) || exit $$?;)
$(foreach ex,$(EXAMPLES),(cd $(ex) && npm ci && npm run link && npm run build) || exit $$?;)
.PHONY: install

update:
$(foreach ex,$(EXAMPLES),(cd $(ex) && npm update) || exit $$?;)
npm ci
npm run build
$(foreach ex,$(EXAMPLES),(cd $(ex) && npm ci) || exit $$?;)
.PHONY: update

up:
Expand Down

0 comments on commit adf5c95

Please sign in to comment.