From 6e52bcbf8306c74e6dee4db3d1e2bc5142345428 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Wed, 23 Nov 2016 16:07:16 +0100 Subject: [PATCH] Remove build/cmd/ directory This was a leftover from processing that is no longer used. --- build/cmd/dist.sh | 68 --------------------------------------- build/cmd/dist/processing | 20 ------------ 2 files changed, 88 deletions(-) delete mode 100755 build/cmd/dist.sh delete mode 100644 build/cmd/dist/processing diff --git a/build/cmd/dist.sh b/build/cmd/dist.sh deleted file mode 100755 index 87fa0686f..000000000 --- a/build/cmd/dist.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -# only needed for core.jar and pde.jar, hmm -ARCH=`uname` -if [ $ARCH == "Darwin" ] -then - BUILD=../macosx - REVISION=`head -1 ../../todo.txt | cut -c 1-4` -elif [ $ARCH == "Cygwin" ] -then - BUILD=../windows - REVISION=`head -c 4 ../../todo.txt` -else - BUILD=../linux - REVISION=`head -c 4 ../../todo.txt` -fi - -echo Creating command-line distribution for revision $REVISION... - -# remove any old boogers -rm -rf processing -rm -rf processing-* - -mkdir processing -cp -r ../shared/lib processing/ -cp -r ../shared/libraries processing/ -cp ../../app/lib/ecj.jar processing/lib/ -cp ../shared/revisions.txt processing/ - -# add the libraries folder with source -cp -r ../../net processing/libraries/ -cp -r ../../opengl processing/libraries/ -cp -r ../../serial processing/libraries/ -cp -r ../../pdf processing/libraries/ -cp -r ../../dxf processing/libraries/ -cp -r ../../xml processing/libraries/ -cp -r ../../candy processing/libraries/ -cp -r ../../video processing/libraries/ - -# grab pde.jar and export from the working dir -cp $BUILD/work/lib/pde.jar processing/lib/ -cp $BUILD/work/lib/core.jar processing/lib/ - -# get platform-specific goodies from the dist dir -install -m 755 dist/processing processing/processing - -# remove boogers -find processing -name "*~" -exec rm -f {} ';' -find processing -name ".DS_Store" -exec rm -f {} ';' -find processing -name "._*" -exec rm -f {} ';' -find processing -name "Thumbs.db" -exec rm -f {} ';' - -# clean out the cvs entries -find processing -name "CVS" -exec rm -rf {} ';' 2> /dev/null -find processing -name ".cvsignore" -exec rm -rf {} ';' -find processing -name ".svn" -exec rm -rf {} 2> /dev/null ';' - -# zip it all up for release -echo Creating tarball and finishing... -P5=processing-cmd-$REVISION -mv processing $P5 - -zip -rq $P5.zip $P5 -#tar cfz $P5.tgz $P5 -# nah, keep the new directory around -#rm -rf $P5 - -#echo Done. diff --git a/build/cmd/dist/processing b/build/cmd/dist/processing deleted file mode 100644 index 8f6944154..000000000 --- a/build/cmd/dist/processing +++ /dev/null @@ -1,20 +0,0 @@ - #!/bin/sh - -APPDIR="$(dirname -- "${0}")" - -# includes java/* in case a Java install is available -for LIB in \ - java/lib/rt.jar \ - java/lib/tools.jar \ - lib/*.jar \ - ; -do - CLASSPATH="${CLASSPATH}:${APPDIR}/${LIB}" -done -export CLASSPATH - -export PATH="${APPDIR}/java/bin:${PATH}" - -#java processing.app.Commander $* -# if you know a better way to do this, submit it to dev.processing.org/bugs -java processing.app.Commander "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"