Skip to content

Commit a0c0933

Browse files
committed
Version bump 0.15.2
1 parent 2c1f922 commit a0c0933

File tree

12 files changed

+396
-1292
lines changed

12 files changed

+396
-1292
lines changed

Makefile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
.PHONY: build test types
22

3+
BUILD_DIR = ./dist
4+
MIN_JS := dist/angular-ts.umd.min.js
5+
GZ_JS := $(MIN_JS).gz
6+
7+
38
setup:
49
@rm -r ./node_modules/
510
@npm i
611
@npx playwright install
7-
8-
BUILD_DIR = ./dist
9-
MIN_JS := dist/angular-ts.umd.min.js
10-
GZ_JS := $(MIN_JS).gz
11-
MIN_SIZE_H := $(shell stat -c %s $(MIN_JS) | numfmt --to=iec)
12-
GZIP_SIZE_H := $(shell gzip -9 -c $(MIN_JS) | wc -c | numfmt --to=iec)
13-
12+
1413
build:
1514
@if [ -d "$(BUILD_DIR)" ]; then \
1615
echo "Removing $(BUILD_DIR)..."; \
@@ -35,7 +34,10 @@ gzip: $(GZ_JS)
3534
@echo "Created gzipped file: $(GZ_JS)"
3635

3736
size-html:
38-
@printf 'Bundle size: <b>%s</b> Gzip size: <b>%s</b>' "$(MIN_SIZE_H)" "$(GZIP_SIZE_H)" > docs/layouts/shortcodes/size-report.html
37+
@printf 'Bundle size: <b>%s</b> Gzip size: <b>%s</b>' \
38+
"$(shell stat -c %s dist/angular-ts.umd.min.js | numfmt --to=iec)" \
39+
"$(shell gzip -c dist/angular-ts.umd.min.js | wc -c | numfmt --to=iec)" \
40+
> docs/layouts/shortcodes/size-report.html
3941

4042
version:
4143
@node utils/version.cjs

0 commit comments

Comments
 (0)