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
a0a3de1b
Commit
a0a3de1b
authored
Jul 14, 2017
by
Jeremy Bokobza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cd
parent
b358069c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
build.sh
build.sh
+6
-4
No files found.
build.sh
View file @
a0a3de1b
...
@@ -23,19 +23,19 @@ dotnet --info
...
@@ -23,19 +23,19 @@ dotnet --info
# Initialize dependencies
# Initialize dependencies
echo
$log_prefix
STARTED restoring dotnet and npm packages
echo
$log_prefix
STARTED restoring dotnet and npm packages
cd
Breeze
cd
$TRAVIS_BUILD_DIR
/
Breeze
git submodule init
git submodule init
git submodule update
git submodule update
dotnet restore
-v
m
dotnet restore
-v
m
cd
..
/Breeze.UI
cd
$TRAVIS_BUILD_DIR
/Breeze.UI
npm
install
npm
install
echo
$log_prefix
FINISHED restoring dotnet and npm packages
echo
$log_prefix
FINISHED restoring dotnet and npm packages
# dotnet build
# dotnet build
echo
$log_prefix
running
'dotnet build'
echo
$log_prefix
running
'dotnet build'
cd
..
/Breeze/src/Breeze.Daemon
cd
$TRAVIS_BUILD_DIR
/Breeze/src/Breeze.Daemon
dotnet build
-c
$configuration
-v
m
dotnet build
-c
$configuration
-v
m
echo
$log_prefix
running
'dotnet publish'
echo
$log_prefix
running
'dotnet publish'
...
@@ -43,10 +43,11 @@ dotnet publish -c $configuration -v m -o $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS
...
@@ -43,10 +43,11 @@ dotnet publish -c $configuration -v m -o $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS
echo
$log_prefix
zipping results of
'dotnet publish'
into
$TRAVIS_BUILD_DIR
/dotnet_out/
$api_output_name
.zip
echo
$log_prefix
zipping results of
'dotnet publish'
into
$TRAVIS_BUILD_DIR
/dotnet_out/
$api_output_name
.zip
mkdir
-p
$TRAVIS_BUILD_DIR
/deploy/
mkdir
-p
$TRAVIS_BUILD_DIR
/deploy/
cd
$TRAVIS_BUILD_DIR
/dotnet_out
zip
-r
$TRAVIS_BUILD_DIR
/deploy/
$api_output_name
.zip
$TRAVIS_OS_NAME
/
*
zip
-r
$TRAVIS_BUILD_DIR
/deploy/
$api_output_name
.zip
$TRAVIS_OS_NAME
/
*
# node Build
# node Build
cd
../../..
/Breeze.UI
cd
$TRAVIS_BUILD_DIR
/Breeze.UI
echo
$log_prefix
running
'npm run'
echo
$log_prefix
running
'npm run'
npm run build:prod
npm run build:prod
...
@@ -61,6 +62,7 @@ cp -r $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS_NAME/* $TRAVIS_BUILD_DIR/breeze_ou
...
@@ -61,6 +62,7 @@ cp -r $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS_NAME/* $TRAVIS_BUILD_DIR/breeze_ou
# zip result
# zip result
echo
$log_prefix
zipping the app into
$TRAVIS_BUILD_DIR
/breeze_out/
$app_output_name
.zip
echo
$log_prefix
zipping the app into
$TRAVIS_BUILD_DIR
/breeze_out/
$app_output_name
.zip
cd
$TRAVIS_BUILD_DIR
/breeze_out
zip
-r
$TRAVIS_BUILD_DIR
/deploy/
$app_output_name
.zip breeze-ui-
$os_platform
-
$arch
/
*
zip
-r
$TRAVIS_BUILD_DIR
/deploy/
$app_output_name
.zip breeze-ui-
$os_platform
-
$arch
/
*
#tests
#tests
...
...
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