@@ -11,20 +11,13 @@ REFERENCES_OUT_PATH=../../../processing-website/content/references/translations/
1111echo " [REFERENCE GENERATOR] Source Path :: $PROCESSING_SRC_PATH "
1212echo " [REFERENCE GENERATOR] Library Path :: $PROCESSING_LIB_PATH "
1313
14- # You can pass one argument "sound" or "video" to generate those libraries separately
14+ # You can pass one argument "sound" or "video" (without the "") to generate those libraries separately
15+ # or "processing" to generate the core without the sound and video libraries
1516# if there is no argument it will generate everything
1617if [ $# -eq 0 ]
1718 then
1819 echo " No arguments supplied, generating everything"
1920 echo " [REFERENCE GENERATOR] Removing previous version of the ref..."
20- rm -rf $REFERENCES_OUT_PATH
21- mkdir $REFERENCES_OUT_PATH
22- mkdir $REFERENCES_OUT_PATH /processing
23- mkdir $REFERENCES_OUT_PATH /io
24- mkdir $REFERENCES_OUT_PATH /net
25- mkdir $REFERENCES_OUT_PATH /serial
26- mkdir $REFERENCES_OUT_PATH /sound
27- mkdir $REFERENCES_OUT_PATH /video
2821 FOLDERS=" $PROCESSING_SRC_PATH /processing/core/*.java \
2922 $PROCESSING_SRC_PATH /processing/data/*.java \
3023 $PROCESSING_SRC_PATH /processing/event/*.java \
@@ -38,14 +31,6 @@ if [ $# -eq 0 ]
3831 then
3932 echo " Generating processing references"
4033 echo " [REFERENCE GENERATOR] Removing previous version of the ref..."
41- rm -rf $REFERENCES_OUT_PATH /processing
42- rm -rf $REFERENCES_OUT_PATH /io
43- rm -rf $REFERENCES_OUT_PATH /net
44- rm -rf $REFERENCES_OUT_PATH /serial
45- mkdir $REFERENCES_OUT_PATH /processing
46- mkdir $REFERENCES_OUT_PATH /io
47- mkdir $REFERENCES_OUT_PATH /net
48- mkdir $REFERENCES_OUT_PATH /serial
4934 FOLDERS=" $PROCESSING_SRC_PATH /processing/core/*.java \
5035 $PROCESSING_SRC_PATH /processing/data/*.java \
5136 $PROCESSING_SRC_PATH /processing/event/*.java \
@@ -56,8 +41,6 @@ if [ $# -eq 0 ]
5641 else
5742 echo " Generating $1 library"
5843 echo " [REFERENCE GENERATOR] Removing previous version of the ref..."
59- rm -rf $REFERENCES_OUT_PATH /$1
60- mkdir $REFERENCES_OUT_PATH /$1
6144 FOLDERS=" $PROCESSING_LIB_PATH /../../../processing-$1 /src/processing/$1 /*.java"
6245fi
6346
0 commit comments