Skip to content

Commit 3e5eaee

Browse files
committed
Add echo statements
1 parent f547de4 commit 3e5eaee

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

tools/make/lib/bundle/browser.mk

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,19 @@ DIST_VERIFY_VERSIONS ?= NODE_PATH="$(NODE_PATH)" $(NODE) \
4444
# make dist-bundles
4545
#/
4646
dist-bundles: $(NODE_MODULES) clean-dist
47-
$(QUIET) echo 'Generating distributable bundles...'
47+
$(QUIET) echo 'Generating bundles...'
4848
$(QUIET) $(DIST_BUILD_SCRIPTS) | grep '^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
4949
echo ""; \
5050
echo "Running build script: $$file"; \
5151
NODE_PATH="$(NODE_PATH)" \
5252
$(NODE) $$file || exit 1; \
5353
done
54+
$(QUIET) echo 'Compressing bundles...'
5455
$(QUIET) for file in $(DIST_DIR)/*/build/*.min.js; do \
5556
echo "Compressing file: $$file"; \
5657
$(GZIP) "$$file" -9 -c > "$$file".gz; \
5758
done
59+
$(QUIET) echo 'Generated bundles.'
5860

5961
.PHONY: dist-bundles
6062

@@ -65,14 +67,18 @@ dist-bundles: $(NODE_MODULES) clean-dist
6567
# make publish-dist-bundles
6668
#/
6769
publish-dist-bundles: $(NODE_MODULES) dist-bundles
70+
$(QUIET) echo 'Updating package versions...'
6871
$(QUIET) $(DIST_UPDATE_VERSIONS)
72+
$(QUIET) echo 'Verifying package versions...'
6973
$(QUIET) $(DIST_VERIFY_VERSIONS)
74+
$(QUIET) echo 'Publishing packages...'
7075
$(QUIET) $(DIST_PKG_DIRS) | grep '^[\/]\|^[a-zA-Z]:[/\]' | while read -r pkg; do \
7176
echo ""; \
7277
echo "Publishing package: $$pkg"; \
7378
cd $$pkg; \
7479
$(NPM) publish --access public || exit 1; \
7580
done
81+
$(QUIET) echo 'Published packages.'
7682

7783
.PHONY: publish-dist-bundles
7884

@@ -83,10 +89,12 @@ publish-dist-bundles: $(NODE_MODULES) dist-bundles
8389
# make clean-dist
8490
#/
8591
clean-dist:
92+
$(QUIET) echo 'Removing build artifacts...'
8693
$(QUIET) $(DIST_PKG_DIRS) | grep '^[\/]\|^[a-zA-Z]:[/\]' | while read -r pkg; do \
8794
echo ""; \
8895
echo "Removing build artifacts for package: $$pkg"; \
8996
rm -rf $$pkg/build || exit 1; \
9097
done
98+
$(QUIET) echo 'Removed build artifacts.'
9199

92100
.PHONY: clean-dist

0 commit comments

Comments
 (0)