Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
d324b030
Commit
d324b030
authored
Jul 18, 2017
by
Jeremy Bokobza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix resources path for daemon in OSX
parent
a3e79f42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
build.sh
build.sh
+10
-2
No files found.
build.sh
View file @
d324b030
...
...
@@ -3,6 +3,13 @@
# exit if error
set
-o
errexit
if
[
"
$TRAVIS_OS_NAME
"
=
"osx"
]
then
dotnet_resources_path_in_app
=
$TRAVIS_BUILD_DIR
/breeze_out/breeze-ui-
$os_platform
-
$arch
/breeze-ui.app/contents/resources/app/assets/daemon
else
dotnet_resources_path_in_app
=
$TRAVIS_BUILD_DIR
/breeze_out/breeze-ui-
$os_platform
-
$arch
/resources/app/assets/daemon
fi
# define a few variables
app_output_name
=
"breeze-
$os_identifier
-
$arch
-
$configuration
"
api_output_name
=
"api-
$os_identifier
-
$arch
-
$configuration
"
...
...
@@ -17,6 +24,7 @@ echo "Architecture:" $arch
echo
"Configuration:"
$configuration
echo
"App output name:"
$app_output_name
echo
"Api output name:"
$api_output_name
echo
"dotnet resources path in app:"
$dotnet_resources_path_in_app
dotnet
--info
...
...
@@ -59,8 +67,8 @@ node package.js --platform=$os_platform --arch=$arch --path=$TRAVIS_BUILD_DIR/br
# copy api libs into app
echo
$log_prefix
copying the Breeze api into the app
mkdir
-p
$
TRAVIS_BUILD_DIR
/breeze_out/breeze-ui-
$os_platform
-
$arch
/resources/app/assets/daemon/
cp
-r
$TRAVIS_BUILD_DIR
/dotnet_out/
$TRAVIS_OS_NAME
/
*
$
TRAVIS_BUILD_DIR
/breeze_out/breeze-ui-
$os_platform
-
$arch
/resources/app/assets/daemon/
mkdir
-p
$
dotnet_resources_path_in_app
cp
-r
$TRAVIS_BUILD_DIR
/dotnet_out/
$TRAVIS_OS_NAME
/
*
$
dotnet_resources_path_in_app
# zip result
echo
$log_prefix
zipping the app into
$TRAVIS_BUILD_DIR
/breeze_out/
$app_output_name
.zip
...
...
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