mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-07 01:54:26 +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 ]
|
if [ $1 ]
|
||||||
then
|
then
|
||||||
RELEASE=$1
|
RELEASE=$1
|
||||||
echo Creating Processing release $RELEASE...
|
echo Creating Arduino release $RELEASE...
|
||||||
else
|
else
|
||||||
RELEASE=$REVISION
|
RELEASE=$REVISION
|
||||||
echo Creating Processing distribution for revision $REVISION...
|
echo Creating Arduino distribution for revision $REVISION...
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VERSIONED=`cat ../../app/src/processing/app/Base.java | grep $REVISION`
|
VERSIONED=`cat ../../app/src/processing/app/Base.java | grep $REVISION`
|
||||||
if [ -z "$VERSIONED" ]
|
if [ -z "$VERSIONED" ]
|
||||||
then
|
then
|
||||||
echo Fix the revision number in Base.java
|
echo Fix the revision number in Base.java or todo.txt
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# remove any unfinished builds or old builds
|
# remove any unfinished builds or old builds
|
||||||
rm -rf processing
|
rm -rf arduino
|
||||||
rm -rf Processing*
|
rm -rf Arduino*
|
||||||
rm -rf processing-*
|
rm -rf arduino-*
|
||||||
rm -rf work
|
rm -rf work
|
||||||
|
|
||||||
./make.sh
|
./make.sh
|
||||||
@ -30,7 +30,7 @@ rm -rf work
|
|||||||
if [ $1 ]
|
if [ $1 ]
|
||||||
then
|
then
|
||||||
# write the release version number into the output directory
|
# 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
|
fi
|
||||||
|
|
||||||
echo Cleaning file boogers...
|
echo Cleaning file boogers...
|
||||||
@ -54,8 +54,8 @@ find work -name ".svn" -exec rm -rf {} 2> /dev/null ';'
|
|||||||
echo Creating disk image...
|
echo Creating disk image...
|
||||||
|
|
||||||
SOURCE_DIR="work"
|
SOURCE_DIR="work"
|
||||||
SOURCE_FILES="Processing.app"
|
SOURCE_FILES="Arduino.app"
|
||||||
OUTPUT_DMG="processing-$RELEASE"
|
OUTPUT_DMG="arduino-$RELEASE"
|
||||||
WORK_DMG="working.dmg"
|
WORK_DMG="working.dmg"
|
||||||
WORK_DIR="working_dir"
|
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
|
PROCESSING 5503 SYNC
|
||||||
@ -65,6 +65,8 @@ Preferences.java
|
|||||||
|
|
||||||
AVR
|
AVR
|
||||||
|
|
||||||
|
Servo library:
|
||||||
|
- patch for the Mega (pins 11 and 12, not 9 and 10)
|
||||||
Ethernet library:
|
Ethernet library:
|
||||||
- integrate DHCP support
|
- integrate DHCP support
|
||||||
- client.connect() returns 0 when connection is successful? http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1238295170
|
- 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