File tree Expand file tree Collapse file tree 3 files changed +37
-50
lines changed Expand file tree Collapse file tree 3 files changed +37
-50
lines changed Original file line number Diff line number Diff line change 11* .sublime-workspace
22* .pyc
33logs /
4+ build /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ #
3+ # Generate an archive with packaged content for easier delivery.
4+ # The generated archive contains:
5+ # - Source files (MIDI.cpp / MIDI.h)
6+ # - Resources (keywords.txt)
7+ # - Examples for Arduino IDE
8+ # - Installation scripts
9+
10+ cd " ` dirname " ${0} " ` "
11+
12+ root=" ${PWD} /.."
13+ build=" $root /build/MIDI"
14+
15+ echo root $root
16+ echo build $build
17+
18+ # Create a temporary destination folder
19+ mkdir -p " $build "
20+ mkdir -p " $build /examples"
21+
22+ # Copy sources
23+ cd " $root /src/"
24+ cp * " $build /"
25+
26+ # Copy resources
27+ cd " $root /res/"
28+ cp keywords.txt " $build /"
29+
30+ # Copy examples
31+ cd " $root /res/examples/"
32+ cp -r * " $build /examples"
33+
34+ # Generate package
35+ cd " $build /.."
36+ zip -r Arduino_MIDI_Library.zip MIDI
You can’t perform that action at this time.
0 commit comments