From 97c18ae8934be80c440309d0ca7c1758d7f3578b Mon Sep 17 00:00:00 2001 From: madhe Date: Wed, 19 Jun 2024 16:19:09 -0700 Subject: [PATCH] use the eclipse configuration --- .gitignore | 1 + buildEclipse.sh | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index adec005..b165b9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /.project /hs_err_pid*.log /importThis/ +release \ No newline at end of file diff --git a/buildEclipse.sh b/buildEclipse.sh index 3542d37..e7bf4c9 100644 --- a/buildEclipse.sh +++ b/buildEclipse.sh @@ -64,7 +64,7 @@ if ! test -f $LOCATION; then case "${TYPE}" in Linux-x86_64*) MYECLIPSE=$LOCATION/eclipse;; Mac*) MYECLIPSE=$LOCATION/Eclipse.app/Contents/MacOS/eclipse;; - Windows-x86_64*) MYECLIPSE=$LOCATION/eclipse.exe;; + Windows-x86_64*) MYECLIPSE=$LOCATION/eclipsec.exe;; esac set -e $MYECLIPSE -nosplash -application org.eclipse.equinox.p2.director -repository $ECLIPSEUPDATE -installIU org.eclipse.platform.feature.group @@ -92,9 +92,11 @@ rm -rf release mkdir -p release NAME=Eclipse-Groovy case "${TYPE}" in - Windows*) EXTRACT="7z a ./release/$NAME-$TYPE.zip $LOCATION/ ";; - *) EXTRACT="tar czf ./release/$NAME-$TYPE.tar.gz $LOCATION/;";; + Windows*) COMPRESS="7z a ./release/$NAME-$TYPE.zip $LOCATION/ ";; + *) COMPRESS="tar czf ./release/$NAME-$TYPE.tar.gz $LOCATION/;";; + echo $COMPRESS + eval $COMPRESS esac ls -al . -la -al release/ +ls -al release/