Unverified Commit 69e7b05f authored by Jeremy Bokobza's avatar Jeremy Bokobza Committed by GitHub

removed unnecessary dotnet restore and build (#346)

* Updated to beta 0.2.1

* removed unnecessary dotnet restore and build
parent dfd49a4e
...@@ -83,12 +83,8 @@ before_build: ...@@ -83,12 +83,8 @@ before_build:
build_script: build_script:
- ps: | - ps: |
Write-Host "$env:log_prefix running 'dotnet build'" -foregroundcolor "magenta"
cd $env:APPVEYOR_BUILD_FOLDER/StratisBitcoinFullNode/Stratis.BreezeD
dotnet restore -v m
dotnet build -c $env:configuration -r $env:win_runtime -v m
Write-Host "$env:log_prefix running 'dotnet publish'" -foregroundcolor "magenta" Write-Host "$env:log_prefix running 'dotnet publish'" -foregroundcolor "magenta"
cd $env:APPVEYOR_BUILD_FOLDER/StratisBitcoinFullNode/Stratis.BreezeD
dotnet publish -c $env:configuration -v m -r $env:win_runtime -o $env:APPVEYOR_BUILD_FOLDER\dotnet_out\$env:win_runtime dotnet publish -c $env:configuration -v m -r $env:win_runtime -o $env:APPVEYOR_BUILD_FOLDER\dotnet_out\$env:win_runtime
Write-Host "$env:log_prefix running 'npm run'" -foregroundcolor "magenta" Write-Host "$env:log_prefix running 'npm run'" -foregroundcolor "magenta"
......
...@@ -45,12 +45,9 @@ cd $TRAVIS_BUILD_DIR/Breeze.UI ...@@ -45,12 +45,9 @@ 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 publish
echo $log_prefix running 'dotnet build'
cd $TRAVIS_BUILD_DIR/StratisBitcoinFullNode/Stratis.BreezeD
dotnet build -c $configuration -r $os_identifier-$arch -v m
echo $log_prefix running 'dotnet publish' echo $log_prefix running 'dotnet publish'
cd $TRAVIS_BUILD_DIR/StratisBitcoinFullNode/Stratis.BreezeD
dotnet publish -c $configuration -r $os_identifier-$arch -v m -o $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS_NAME dotnet publish -c $configuration -r $os_identifier-$arch -v m -o $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS_NAME
echo $log_prefix chmoding the Stratis.BreezeD file echo $log_prefix chmoding the Stratis.BreezeD file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment