mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
random fixes and making windows build script
This commit is contained in:
@@ -7,6 +7,7 @@ if test -d work
|
||||
then
|
||||
|
||||
else
|
||||
echo Setting up directories to build P5...
|
||||
mkdir work
|
||||
tar --extract --verbose --file=jre.tgz --ungzip --directory=work
|
||||
cp -r ../shared/lib work/
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#editor.status.error.bgcolor = #CC0000
|
||||
#editor.status.prompt.fgcolor = #FFFFFF
|
||||
#editor.status.prompt.bgcolor = #CC9900
|
||||
#editor.status.font = SansSerif,plain,10
|
||||
#editor.status.font = SansSerif,plain,12
|
||||
|
||||
# not necessary to set bgcolor of window b/c it comes from os
|
||||
#run.window.bgcolor = #666666
|
||||
@@ -42,6 +42,14 @@
|
||||
#serial.databits = 8
|
||||
#serial.stopbits = 1
|
||||
|
||||
#editor.expand_tabs=true
|
||||
#editor.tab_size=2
|
||||
#editor.auto_indent=true
|
||||
#editor.balance_parens=false
|
||||
|
||||
|
||||
# these properties are no longer especially in use
|
||||
|
||||
# enable this to run hack-version mildly stabler external processing
|
||||
#play.external = true
|
||||
|
||||
@@ -52,11 +60,6 @@
|
||||
# it will also be necessary to put processing in c:\
|
||||
#play.externalCommand = C:\\processing\\bin\\jre -cp c:\\processing\\lib;c:\\processing\\lib\\pde.jar;c:\\processing\\lib\\kjc.jar;c:\\processing\\lib\\comm.jar ProcessingAppletViewer
|
||||
|
||||
#editor.expand_tabs=true
|
||||
#editor.tab_size=2
|
||||
#editor.auto_indent=true
|
||||
#editor.balance_parens=false
|
||||
|
||||
#update.enabled
|
||||
#update.url = http://acg.media.mit.edu/people/fry/processing/update/
|
||||
#update.url = http://imrf.or.jp/processing/update/
|
||||
|
||||
Executable
+42
@@ -0,0 +1,42 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo Creating P5 distribution...
|
||||
|
||||
# remove any old boogers
|
||||
rm -rf processing
|
||||
rm -f processing.zip
|
||||
|
||||
# use 'shared' files as starting point
|
||||
cp -r ../shared processing
|
||||
# something like the following might be better:
|
||||
# find / -name "*.mp3" -exec rm -f {}\;
|
||||
rm -rf processing/lib/CVS
|
||||
rm -rf processing/reference/CVS
|
||||
rm -rf processing/reference/images/CVS
|
||||
rm -rf processing/sketchbook/CVS
|
||||
rm -rf processing/sketchbook/default/CVS
|
||||
rm -f processing/sketchbook/default/.cvsignore
|
||||
# will need to add a zillion of these for the reference..
|
||||
|
||||
# add java (jre) files
|
||||
unzip -q -d processing jre.zip
|
||||
|
||||
# directories used by the app
|
||||
mkdir processing/lib/build
|
||||
|
||||
# grab pde.jar and export from the working dir
|
||||
cp work/lib/pde.jar processing/lib/
|
||||
cp -r work/lib/export processing/lib/
|
||||
rm -rf processing/lib/export/CVS
|
||||
|
||||
# get platform-specific goodies from the dist dir
|
||||
cp dist/run.bat work/
|
||||
|
||||
# convert notes.txt to windows LFs
|
||||
|
||||
# zip it all up for release
|
||||
echo Zipping and finishing...
|
||||
zip -rq processing.zip processing
|
||||
#rm -rf processing
|
||||
|
||||
echo Done.
|
||||
@@ -6,17 +6,18 @@
|
||||
if test -d work
|
||||
then
|
||||
else
|
||||
echo Setting up directories to build P5 on windows...
|
||||
echo Setting up directories to build P5...
|
||||
mkdir work
|
||||
unzip -q -d work jre.zip
|
||||
cp -r ../shared/lib work/
|
||||
rm -rf work/lib/CVS
|
||||
mkdir work/lib/export
|
||||
mkdir work/lib/build
|
||||
cp -r ../shared/sketchbook work/
|
||||
mkdir work/classes
|
||||
# this will copy cvs files intact, meaning that changes
|
||||
# could be made and checked back in.. interesting
|
||||
cp -r ../shared/sketchbook work/
|
||||
cp -r ../shared/reference work/
|
||||
mkdir work/classes
|
||||
cp dist/run.bat work/
|
||||
echo
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user