Files
o3de/Tools/styleui/styleui.cmd
T
Steve Pham b4a2edec6a Final update copyright headers to reference license files at the repo root (#1693)
* Final update copyright headers to reference license files at the repo root

Signed-off-by: spham <spham@amazon.com>

* Fix copyright validator unit tests to support the stale O3DE header scenario

Signed-off-by: spham <spham@amazon.com>
2021-06-30 19:51:55 -07:00

28 lines
594 B
Batchfile

@ECHO OFF
REM
REM Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
REM
REM SPDX-License-Identifier: Apache-2.0 OR MIT
REM
REM
REM
SETLOCAL
SET CMD_DIR=%~dp0
SET CMD_DIR=%CMD_DIR:~0,-1%
SET SDKS_DIR=%CMD_DIR%\..\..\Code\SDKs
SET PYTHON_DIR=%SDKS_DIR%\Python
IF EXIST %PYTHON_DIR% GOTO PYTHON_READY
ECHO Missing: %PYTHON_DIR%
GOTO :EOF
:PYTHON_READY
SET PYTHON=%PYTHON_DIR%\x64\python.exe
SET STYLEUI_DIR=%CMD_DIR%
SET PYTHONPATH=%STYLEUI_DIR%
%PYTHON% %STYLEUI_DIR%\styleui.py %*