mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-16 18:25:04 -06:00
update mac build script
This commit is contained in:
parent
0902523c03
commit
27eae6805b
@ -63,23 +63,6 @@ fi
|
||||
echo "Running tests, code coverage, linting and building..."
|
||||
npm run unpacked-mac
|
||||
|
||||
APP_BUILD=dist/mac/Symphony.app
|
||||
|
||||
# Test if app was built and exists, if not, exit
|
||||
if [ ! -e ${APP_BUILD} ]; then
|
||||
echo "BUILD FAILED: app does not exist: ${APP_BUILD}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "App created: ${APP_BUILD}"
|
||||
|
||||
# Create .pkg installer
|
||||
echo "Creating .pkg"
|
||||
/usr/local/bin/packagesbuild -v installer/mac/symphony-mac-packager.pkgproj
|
||||
PACKAGE=installer/mac/build/Symphony.pkg
|
||||
|
||||
if [ ! -e ${PACKAGE} ]; then
|
||||
echo "BUILD PACKAGE FAILED: package not created: ${PACKAGE}"
|
||||
exit 1
|
||||
fi
|
||||
echo "Package created: ${PACKAGE}"
|
||||
|
Loading…
Reference in New Issue
Block a user