Added doc.

This commit is contained in:
Francois Best 2012-05-23 00:32:56 +02:00
parent da05198ed1
commit c4a4db9de7
3 changed files with 22 additions and 1 deletions

View File

@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
# Use this script to install the library directy from the git clone.
if [[ -d /Applications/Arduino.app ]] if [[ -d /Applications/Arduino.app ]]
then then

View File

@ -1,10 +1,20 @@
#!/bin/bash #!/bin/bash
# This script installs the Arduino MIDI Library into the Arduino application,
# so that every sketch can include it directly, without having to copy anything.
#
# To install the library, run this script by double-clicking it,
# it should be directly executable and seen as such by Mac OS X.
# If not, open a terminal, cd to the script location, and run ./install_mac
#
# Open the Arduino IDE, and you're ready to go!
# The script assumes the Arduino application
# is installed in the default location.
if [[ -d /Applications/Arduino.app ]] if [[ -d /Applications/Arduino.app ]]
then then
# Define locations # Define locations
lib_path=/Applications/Arduino.app/Contents/Resources/Java/libraries/MIDI lib_path=/Applications/Arduino.app/Contents/Resources/Java/libraries/MIDI
if [[ -d $lib_path ]] if [[ -d $lib_path ]]

View File

@ -1,4 +1,13 @@
#!/bin/bash #!/bin/bash
#
# Generate an archive with packaged content for easier delivery.
# The generated archive contains:
# - Source files (MIDI.cpp / MIDI.h)
# - Resources (keywords.txt)
# - Documentation (Doxygen)
# - Examples for Arduino IDE
# - Installation scripts
# Create a temporary destination folder # Create a temporary destination folder
mkdir -p temp/doc mkdir -p temp/doc