File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ examples-javascript-files: $(NODE_MODULES)
8585# make examples-random-javascript RANDOM_SELECTION_SIZE=10
8686# /
8787examples-random-javascript : $(NODE_MODULES )
88- $(QUIET ) make list-random-lib-pkgs | while read -r pkg; do \
88+ $(QUIET ) make -s list-random-lib-pkgs | while read -r pkg; do \
8989 echo " " ; \
9090 echo " Running example: $$ pkg" ; \
9191 NODE_ENV=" $( NODE_ENV_EXAMPLES) " \
Original file line number Diff line number Diff line change @@ -73,6 +73,6 @@ list-lib-pkgs:
7373# make list-random-lib-pkgs RANDOM_SELECTION_SIZE=10
7474# /
7575list-random-lib-pkgs :
76- $(QUIET ) output= $$( make list-lib-pkgs ) ; echo " $$ output " | shuf -n $(RANDOM_SELECTION_SIZE )
76+ $(QUIET ) make list-lib-pkgs | sort -R | head -n $(RANDOM_SELECTION_SIZE )
7777
7878.PHONY : list-random-lib-pkgs
You can’t perform that action at this time.
0 commit comments