blob: e75a0dcf44808bb7679d493dcb0ea98a5eb002cd [file] [log] [blame]
# David A. Mellis and Tom Pollard
# Script to download reference pages from Arduino website and change links
# to point to local copies of the pages.
die () { echo ERROR: $*; exit 1; }
mkdir reference || die 'unable to create reference directory'
cd reference
perl ../ || die 'unable to create local reference pages'
mkdir img
curl > img/logo.png
cd ..
zip -r shared/ reference || die 'unable to create archive'
rm -rf reference