Skip to content

Commit

Permalink
separate clean from all
Browse files Browse the repository at this point in the history
  • Loading branch information
aearly committed Jun 23, 2019
1 parent 9593bfe commit 1f88282
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $(A): $$(SRC_$(A))
endef
$(foreach A,$(ALIAS_ES),$(eval $(COPY_ES_ALIAS)))

all: clean lint build test
all: lint build test

test:
npm test
Expand Down Expand Up @@ -143,7 +143,9 @@ build: build-bundle build-dist build-es build-config build-es-config test-build
.PHONY: test lint build all clean

.PHONY: release-major release-minor release-patch release-prerelease
release-major release-minor release-patch release-prerelease: all
release-major release-minor release-patch release-prerelease:
$(MAKE) clean
$(MAKE) all
npm ci # ensure dependencies are up to date (#1158)
git add --force $(DIST)
git commit -am "Update built files"; true
Expand Down

0 comments on commit 1f88282

Please sign in to comment.