mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-29 18:52:13 +01:00
Creating the Arduino .dmg template and modifying the Mac OS X dist.sh for Arduino.
This commit is contained in:
parent
60a3f29abf
commit
1f838c0ae0
@ -6,23 +6,23 @@ REVISION=`head -1 ../../todo.txt | awk '{print $1}'`
|
||||
if [ $1 ]
|
||||
then
|
||||
RELEASE=$1
|
||||
echo Creating Processing release $RELEASE...
|
||||
echo Creating Arduino release $RELEASE...
|
||||
else
|
||||
RELEASE=$REVISION
|
||||
echo Creating Processing distribution for revision $REVISION...
|
||||
echo Creating Arduino distribution for revision $REVISION...
|
||||
fi
|
||||
|
||||
VERSIONED=`cat ../../app/src/processing/app/Base.java | grep $REVISION`
|
||||
if [ -z "$VERSIONED" ]
|
||||
then
|
||||
echo Fix the revision number in Base.java
|
||||
echo Fix the revision number in Base.java or todo.txt
|
||||
exit
|
||||
fi
|
||||
|
||||
# remove any unfinished builds or old builds
|
||||
rm -rf processing
|
||||
rm -rf Processing*
|
||||
rm -rf processing-*
|
||||
rm -rf arduino
|
||||
rm -rf Arduino*
|
||||
rm -rf arduino-*
|
||||
rm -rf work
|
||||
|
||||
./make.sh
|
||||
@ -30,7 +30,7 @@ rm -rf work
|
||||
if [ $1 ]
|
||||
then
|
||||
# write the release version number into the output directory
|
||||
echo $1 > work/Processing.app/Contents/Resources/Java/lib/version.txt
|
||||
echo $1 > work/Arduino.app/Contents/Resources/Java/lib/version.txt
|
||||
fi
|
||||
|
||||
echo Cleaning file boogers...
|
||||
@ -54,8 +54,8 @@ find work -name ".svn" -exec rm -rf {} 2> /dev/null ';'
|
||||
echo Creating disk image...
|
||||
|
||||
SOURCE_DIR="work"
|
||||
SOURCE_FILES="Processing.app"
|
||||
OUTPUT_DMG="processing-$RELEASE"
|
||||
SOURCE_FILES="Arduino.app"
|
||||
OUTPUT_DMG="arduino-$RELEASE"
|
||||
WORK_DMG="working.dmg"
|
||||
WORK_DIR="working_dir"
|
||||
|
||||
|
Binary file not shown.
4
todo.txt
4
todo.txt
@ -1,4 +1,4 @@
|
||||
0016 arduino
|
||||
0017 arduino
|
||||
|
||||
|
||||
PROCESSING 5503 SYNC
|
||||
@ -65,6 +65,8 @@ Preferences.java
|
||||
|
||||
AVR
|
||||
|
||||
Servo library:
|
||||
- patch for the Mega (pins 11 and 12, not 9 and 10)
|
||||
Ethernet library:
|
||||
- integrate DHCP support
|
||||
- client.connect() returns 0 when connection is successful? http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1238295170
|
||||
|
Loading…
x
Reference in New Issue
Block a user