Skip to content

Commit 7dfbbc5

Browse files
committed
build: fix environment variables and docs
1 parent b8cc3db commit 7dfbbc5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tools/make/lib/wasm/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ compile_wasm_bin := $(TOOLS_DIR)/scripts/compile_wasm
4141
#
4242
# - If unable to compile WebAssemby artifacts, the recipe prints an error message and tries compiling WebAssembly artifacts for the next package.
4343
#
44-
# @param {string} [PKGS_WASM_PATTERN] - package pattern (e.g., `**/math/base/special/**/package.json`)
44+
# @param {string} [PKGS_WASM_PATTERN] - package pattern (e.g., `blas/base/daxpy-wasm`)
4545
#
4646
# @example
4747
# make wasm
4848
#
4949
# @example
50-
# make wasm PKGS_WASM_PATTERN=**/math/base/special/**/package.json
50+
# make wasm PKGS_WASM_PATTERN="blas/base/daxpy-wasm"
5151
#/
5252
wasm: $(NODE_MODULES)
53-
$(QUIET) $(MAKE) LIST_PACKAGE_WASM_FLAGS=$(pkgs_wasm_list_wasm_flags) -f $(this_file) list-pkgs-wasm | while read -r pkg; do \
53+
$(QUIET) $(MAKE) LIST_PKGS_WASM_FLAGS=$(pkgs_wasm_list_wasm_flags) -f $(this_file) list-pkgs-wasm | while read -r pkg; do \
5454
if echo "$$pkg" | grep -v '^\/.*\|^[a-zA-Z]:.*' >/dev/null; then \
5555
continue; \
5656
fi; \
@@ -71,16 +71,16 @@ wasm: $(NODE_MODULES)
7171
#/
7272
# Removes all compiled and generated WebAssembly files.
7373
#
74-
# @param {string} [PKGS_WASM_PATTERN] - package pattern (e.g., `**/math/base/special/**/package.json`)
74+
# @param {string} [PKGS_WASM_PATTERN] - package pattern (e.g., `blas/base/daxpy-wasm`)
7575
#
7676
# @example
7777
# make clean-wasm
7878
#
7979
# @example
80-
# make clean-wasm PKGS_WASM_PATTERN=**/math/base/special/**/package.json
80+
# make clean-wasm PKGS_WASM_PATTERN="blas/base/daxpy-wasm"
8181
#/
8282
clean-wasm: $(NODE_MODULES)
83-
$(QUIET) $(MAKE) LIST_PACKAGE_WASM_FLAGS=$(pkgs_wasm_list_wasm_flags) -f $(this_file) list-pkgs-wasm | while read -r pkg; do \
83+
$(QUIET) $(MAKE) LIST_PKGS_WASM_FLAGS=$(pkgs_wasm_list_wasm_flags) -f $(this_file) list-pkgs-wasm | while read -r pkg; do \
8484
if echo "$$pkg" | grep -v '^\/.*\|^[a-zA-Z]:.*' >/dev/null; then \
8585
continue; \
8686
fi; \

0 commit comments

Comments
 (0)