summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrelease-common.sh17
1 files changed, 10 insertions, 7 deletions
diff --git a/release-common.sh b/release-common.sh
index e1b66b3..44a5395 100755
--- a/release-common.sh
+++ b/release-common.sh
@@ -60,15 +60,18 @@ esac
qmake VERSION=$VERSION CONFIG+=$CONFIG
make -s clean
-if [[ $OS == WIN ]]; then
- #if the following files are missing their tried removal stops the build process on msys
- touch -t 200012121010 parser_yacc.h parser_yacc.cpp lexer_lex.cpp
-fi
+case $OS in
+ MACOSX)
+ rm -rf OpenSCAD.app
+ ;;
+ WIN)
+ #if the following files are missing their tried removal stops the build process on msys
+ touch -t 200012121010 parser_yacc.h parser_yacc.cpp lexer_lex.cpp
+ ;;
+esac
make -j2 $TARGET
-echo "Preparing executable..."
-
echo "Creating directory structure..."
rm -rf openscad-$VERSION
rm -f openscad-$VERSION.zip
@@ -104,7 +107,7 @@ case $OS in
;;
esac
-echo "Creating directory structure..."
+echo "Creating archive.."
"$ZIP" $ZIPARGS openscad-$VERSION.zip openscad-$VERSION
rm -rf openscad-$VERSION
contact: Jan Huwald // Impressum