mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-26 07:02:15 +03:00
.settings
app
arduino-builder
arduino-core
build
cmd
javadoc
linux
macosx
shared
windows
build.xml
build_all_dist.bash
build_pull_request.bash
create_reference.pl
fetch.sh
howto.txt
libastylej-2.05.zip.sha
hardware
libraries
.classpath
.gitignore
.project
README.md
format.every.sketch.sh
license.txt
22 lines
560 B
Bash
Executable File
22 lines
560 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# fetch.sh
|
|
# 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 ../create_reference.pl || die 'unable to create local reference pages'
|
|
|
|
mkdir img
|
|
curl http://arduino.cc/en/pub/skins/arduinoUno/img/logo.png > img/logo.png
|
|
|
|
cd ..
|
|
zip -r shared/reference.zip reference || die 'unable to create reference.zip archive'
|
|
|
|
rm -rf reference
|