Open arimer opened 6 years ago
Just saw that we have duplicated and outdated code in two scripts:
and
I am not sure if we want to keep both of it, because it seems to be only relevant for older MPS versions.
@arimer you probably meant one of the files to be mpssign.sh in your comment.
We should call bundle_macos_jdk.sh from mpssign.sh, and remove most of the code from mpssign.sh except for the argument parsing and signing.
mpssign.sh should:
echo "Signing application $BUILD_NAME"
, up to echo "check sign done"
).Could we maybe agree to merge first the simple change introduced here: https://github.com/mbeddr/mps-gradle-plugin/pull/27
And afterwards refactor the buildscripts?
@arimer sure :)
When creating a .dmg file containing the application a broken symlink is still created under
Application/MyAppapp/Contents/bin/*.dylib
To verify this for your application you could just use the following command to find the broken link:
find . -type l ! -exec test -e {} \; -print
It looks like the following code is always executed. I will add a condition there.
https://github.com/mbeddr/mps-gradle-plugin/blob/3ac8f0588066935f2861cc5affddc097feb94855/src/main/resources/de/itemis/mps/gradle/mpssign.sh#L47