Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 0.366 kb
#!/bin/bash
if test $# -lt 3; then
echo "Usage: make-ioio-bundle dist-dir out config1 config2 ..."
exit 1
fi
ZIP=zip
DISTDIR=$1
OUT=$2
configs=("$@")
configs=("${configs[@]:2}")
i=0
for config in "${configs[@]}"; do
echo $config
cp $DISTDIR/$config/production/*.hex /tmp/$config.hex
results[$((i++))]=/tmp/$config.hex
done
$ZIP -j $OUT ${results[@]}
Jump to Line
Something went wrong with that request. Please try again.