oto/apps/runner/assets/script/batch/build.bat
toki 86afabb3eb refactor(runner): 런타임 패키지를 앱 하위로 이동한다
독립 control plane 구성을 위해 기존 Dart CLI/runtime을 runner 앱 경계로 옮기고, 후속 client/core/root 작업을 같은 마일스톤 task group에 연결한다.
2026-06-05 06:34:45 +09:00

25 lines
No EOL
934 B
Batchfile

@echo off
C:\\Windows\\System32\\chcp.com 65001
set "PathSystem="
for /F "skip=2 tokens=1,2*" %%G in ('%SystemRoot%\System32\reg.exe query "HKLM\System\CurrentControlSet\Control\Session Manager\Environment" /v "Path" 2^>nul') do if /I "%%G" == "Path" (
if /I "%%H" == "REG_EXPAND_SZ" (set "PathExpand=1" & set "PathSystem=%%I") else if /I "%%H" == "REG_SZ" set "PathSystem=%%I"
)
set "PathUser="
for /F "skip=2 tokens=1,2*" %%G in ('%SystemRoot%\System32\reg.exe query "HKCU\Environment" /v "Path" 2^>nul') do if /I "%%G" == "Path" (
if /I "%%H" == "REG_EXPAND_SZ" (set "PathExpand=1" & set "PathUser=%%I") else if /I "%%H" == "REG_SZ" set "PathUser=%%I"
)
PATH=%PathSystem%;%PathUser%;%SystemRoot%\System32
echo %PATH%
IF [%1]==[] (
SET BuildData > build_data.conf
) ELSE (
SET %1 > build_data.conf
)
SET BUILDER=%~dp0
cd "%BUILDER%..\..\.."
echo "===> Build Project Path: %cd%"
dart run "./bin/main.dart" exe -j