Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
@echo off
|
||||
REM Canonical HCIE workspace build entry point (Windows)
|
||||
REM Usage: build.bat [cargo-flags...]
|
||||
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
set ROOT_DIR=%~dp0
|
||||
|
||||
if "%~1"=="" (
|
||||
set CARGO_ARGS=--workspace
|
||||
) else (
|
||||
set CARGO_ARGS=%*
|
||||
)
|
||||
|
||||
call "%ROOT_DIR%scripts\cargo-with-build-id.bat" build %CARGO_ARGS%
|
||||
|
||||
exit /b %ERRORLEVEL%
|
||||
Reference in New Issue
Block a user