Mercurial > hg > piper-vamp-js-builds
view build-all.sh @ 13:d81d02140d43
Bring in example plugins and test plugin. It's not very DRY but it is quite useful
author | Chris Cannam |
---|---|
date | Fri, 11 Nov 2016 17:37:38 +0000 |
parents | 9ce497a42932 |
children | 5383956f326d |
line wrap: on
line source
#!/bin/bash clean="" if [ "$1" = "clean" ]; then clean=yes fi set -eu for x in *; do if [ -d "$x" ] && [ -f "$x/Makefile" ]; then if [ -n "$clean" ]; then make -C "$x" clean fi make -C "$x" em fi done for x in *; do if [ -d "$x" ] && [ -f "$x/Makefile" ]; then echo make -C "$x" test fi done echo echo "All done" echo "Outputs:" ls -l */*.js