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
dceadb6c
Commit
dceadb6c
authored
Nov 30, 2017
by
Jeremy Bokobza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added package for Mac
parent
9c18f5ce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
32 deletions
+8
-32
.travis.yml
.travis.yml
+1
-0
main.ts
Breeze.UI/main.ts
+6
-6
build.sh
build.sh
+1
-26
No files found.
.travis.yml
View file @
dceadb6c
...
...
@@ -59,6 +59,7 @@ deploy:
-
"
$TRAVIS_BUILD_DIR/deploy/*.zip"
-
"
$TRAVIS_BUILD_DIR/Breeze.UI/app-builds/*.deb"
-
"
$TRAVIS_BUILD_DIR/Breeze.UI/app-builds/*.tar.gz"
-
"
$TRAVIS_BUILD_DIR/Breeze.UI/app-builds/*.dmg"
skip_cleanup
:
true
overwrite
:
true
prerelease
:
true
...
...
Breeze.UI/main.ts
View file @
dceadb6c
...
...
@@ -160,9 +160,9 @@ function startBitcoinApi() {
apiPath
=
path
.
resolve
(
__dirname
,
'..
\\
..
\\
resources
\\
daemon
\\
Stratis.BreezeD.exe'
);
}
else
if
(
os
.
platform
()
===
'linux'
)
{
apiPath
=
path
.
resolve
(
__dirname
,
'..//..//resources//daemon//Stratis.BreezeD'
);
}
//
else {
//
apiPath = path.resolve(__dirname, '..//..//Content//resources//daemon//Stratis.BreezeD');
//
}
}
else
{
apiPath
=
path
.
resolve
(
__dirname
,
'..//..//Content//resources//daemon//Stratis.BreezeD'
);
}
if
(
!
testnet
)
{
...
...
@@ -191,9 +191,9 @@ function startStratisApi() {
apiPath
=
path
.
resolve
(
__dirname
,
'..
\\
..
\\
resources
\\
daemon
\\
Stratis.BreezeD.exe'
);
}
else
if
(
os
.
platform
()
===
'linux'
)
{
apiPath
=
path
.
resolve
(
__dirname
,
'..//..//resources//daemon//Stratis.BreezeD'
);
}
//
else {
//
apiPath = path.resolve(__dirname, '..//..//Content//resources//daemon//Stratis.BreezeD');
//
}
}
else
{
apiPath
=
path
.
resolve
(
__dirname
,
'..//..//Content//resources//daemon//Stratis.BreezeD'
);
}
if
(
!
testnet
)
{
stratisProcess
=
spawnStratis
(
apiPath
,
[
'stratis'
],
{
...
...
build.sh
View file @
dceadb6c
...
...
@@ -58,35 +58,10 @@ cd $TRAVIS_BUILD_DIR/Breeze.UI
echo
$log_prefix
running
'npm run'
npm run build:prod
if
[
"
$TRAVIS_OS_NAME
"
=
"osx"
]
then
# node packaging
echo
$log_prefix
packaging breeze
node package.js
--platform
=
$os_platform
--arch
=
$arch
--path
=
$TRAVIS_BUILD_DIR
/breeze_out
# rename node generated folder
echo
$log_prefix
rename the folder generated by npm from
$node_output_name
to
$app_output_name
mv
$TRAVIS_BUILD_DIR
/breeze_out/
$node_output_name
$TRAVIS_BUILD_DIR
/breeze_out/
$app_output_name
# copy api libs into app
echo
$log_prefix
copying the Breeze api into the app
mkdir
-p
$dotnet_resources_path_in_app
cp
-r
$TRAVIS_BUILD_DIR
/Breeze.UI/daemon/
*
$dotnet_resources_path_in_app
# zip result
echo
$log_prefix
zipping the app into
$TRAVIS_BUILD_DIR
/breeze_out/
$app_output_zip_name
mkdir
-p
$TRAVIS_BUILD_DIR
/deploy/
cd
$TRAVIS_BUILD_DIR
/breeze_out
zip
-r
$TRAVIS_BUILD_DIR
/deploy/
$app_output_zip_name
$app_output_name
/
*
else
# node packaging
# node packaging
echo
$log_prefix
packaging breeze
npx electron-builder build
--
$TRAVIS_OS_NAME
--
$arch
echo
$log_prefix
finished packaging
fi
#tests
echo
$log_prefix
no tests to run
...
...
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