mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
20 lines
404 B
Batchfile
20 lines
404 B
Batchfile
@echo off
|
|
setlocal enabledelayedexpansion
|
|
|
|
if "%~1"=="" (
|
|
echo Version number is required.
|
|
echo Usage: build.bat [version] [extra_args...]
|
|
exit /b 1
|
|
)
|
|
|
|
cd %~dp0
|
|
|
|
echo.
|
|
echo Building Iced/Rust
|
|
cargo build
|
|
|
|
echo.
|
|
echo Building Velopack Release v%~1
|
|
mkdir publish
|
|
move target\debug\velorusticedsample.exe publish\velorusticedsample.exe
|
|
vpk pack -u VeloRustIcedSample -o releases -p publish -v %* |