Skip to content

Commit

Permalink
build: finally resolve broken pipe issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Jul 29, 2023
1 parent ad2a662 commit c9e47c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/make/lib/examples/javascript.mk
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ examples-javascript-files: $(NODE_MODULES)
# make examples-random-javascript RANDOM_SELECTION_SIZE=10
#/
examples-random-javascript: $(NODE_MODULES)
$(QUIET) make list-random-lib-pkgs | while read -r pkg; do \
$(QUIET) make -s list-random-lib-pkgs | while read -r pkg; do \
echo ""; \
echo "Running example: $$pkg"; \
NODE_ENV="$(NODE_ENV_EXAMPLES)" \
Expand Down
2 changes: 1 addition & 1 deletion tools/make/lib/ls/pkgs/lib.mk
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ list-lib-pkgs:
# make list-random-lib-pkgs RANDOM_SELECTION_SIZE=10
#/
list-random-lib-pkgs:
$(QUIET) output=$$(make list-lib-pkgs); echo "$$output" | shuf -n $(RANDOM_SELECTION_SIZE)
$(QUIET) make list-lib-pkgs | sort -R | head -n $(RANDOM_SELECTION_SIZE)

.PHONY: list-random-lib-pkgs

0 comments on commit c9e47c1

Please sign in to comment.