official 0.1.0 version
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
@echo off
|
||||
setlocal EnableExtensions
|
||||
REM Provision the Orisys Studio build environment (run once per machine).
|
||||
REM Works from any cwd; forwards args to setup.ps1
|
||||
REM Examples:
|
||||
REM setup.bat
|
||||
REM setup.bat -Force
|
||||
REM setup.bat -Python C:\Python310\python.exe
|
||||
REM setup.bat -AllowConda
|
||||
|
||||
set "SCRIPT_DIR=%~dp0"
|
||||
set "PS1=%SCRIPT_DIR%setup.ps1"
|
||||
|
||||
if not exist "%PS1%" (
|
||||
echo ERROR: setup.ps1 not found at "%PS1%"
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%PS1%" %*
|
||||
set "ERR=%ERRORLEVEL%"
|
||||
exit /b %ERR%
|
||||
Reference in New Issue
Block a user