Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
5be27ff3
Commit
5be27ff3
authored
Apr 19, 2016
by
Craig Watson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected release script for OSX following its relocation
parent
85d5d6c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
release.macx.sh
release_scripts/osx/release.macx.sh
+8
-3
No files found.
release_scripts/osx/release.macx.sh
View file @
5be27ff3
...
...
@@ -14,13 +14,16 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# ---------------------------------------------------------------------
SCRIPT_PATH
=
"
`
pwd
`
"
PROJECT_ROOT
=
"
$SCRIPT_PATH
/../.."
APPLICATION_NAME
=
"OpenBoard"
BASE_QT_DIR
=
~/Qt/5.5/clang_64
# Executables
QMAKE
=
$BASE_QT_DIR
/bin/qmake
MACDEPLOYQT
=
$BASE_QT_DIR
/bin/macdeployqt
DMGUTIL
=
"
`
pwd
`
/../OpenBoard-ThirdParty/refnum/dmgutil/dmgutil.pl"
DMGUTIL
=
"
$PROJECT_ROOT
/../OpenBoard-ThirdParty/refnum/dmgutil/dmgutil.pl"
DSYMUTIL
=
/usr/bin/dsymutil
STRIP
=
/usr/bin/strip
PLISTBUDDY
=
/usr/libexec/PlistBuddy
...
...
@@ -28,7 +31,7 @@ ICEBERG=/usr/local/bin/freeze
LRELEASE
=
$BASE_QT_DIR
/bin/lrelease
# Directories
BUILD_DIR
=
"build/macx/release"
BUILD_DIR
=
"
$PROJECT_ROOT
/
build/macx/release"
PRODUCT_DIR
=
"
$BUILD_DIR
/product"
BASE_QT_TRANSLATIONS_DIRECTORY
=
$BASE_QT_DIR
/translations
...
...
@@ -106,6 +109,8 @@ trap "defaults write org.oe-f.OpenBoard.release Running -bool NO" EXIT
notify
"Running OpenBoard release script (
`
date
`
)"
cd
$PROJECT_ROOT
script_is_running
=
`
defaults
read
org.oe-f.OpenBoard.release Running 2>/dev/null
`
if
[[
$?
-eq
0
]]
&&
[[
"
$script_is_running
"
=
"1"
]]
;
then
trap
EXIT
...
...
@@ -200,7 +205,7 @@ $DSYMUTIL "$APP/Contents/MacOS/$APPLICATION_NAME" -o "$DSYM"
$STRIP
-S
"
$APP
/Contents/MacOS/
$APPLICATION_NAME
"
if
[
"
$1
"
==
"pkg"
]
;
then
BASE_ICEBERG_CONFIG_FILE
=
"
$APPLICATION_NAME
.packproj"
BASE_ICEBERG_CONFIG_FILE
=
"
$
SCRIPT_PATH
/
$
APPLICATION_NAME
.packproj"
#copy the standard file for working with
ICEBERG_CONFIG_FILE
=
"
$APPLICATION_NAME
-working.packproj"
cp
-r
$BASE_ICEBERG_CONFIG_FILE
$ICEBERG_CONFIG_FILE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment