mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Add more robust error handling to all the sample build scripts
This commit is contained in:
@@ -12,9 +12,16 @@ cd %~dp0
|
||||
echo.
|
||||
echo Building Iced/Rust
|
||||
cargo build
|
||||
if errorlevel 1 exit /b 1
|
||||
|
||||
echo.
|
||||
echo Building Velopack Release v%~1
|
||||
|
||||
mkdir publish
|
||||
if errorlevel 1 exit /b 1
|
||||
|
||||
move target\debug\velorusticedsample.exe publish\velorusticedsample.exe
|
||||
vpk pack -u VeloRustIcedSample -o releases -p publish -v %*
|
||||
if errorlevel 1 exit /b 1
|
||||
|
||||
vpk pack -u VeloRustIcedSample -o releases -p publish -v %*
|
||||
if errorlevel 1 exit /b 1
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Find the absolute path of the script
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
Reference in New Issue
Block a user