mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-05-12 21:31:43 +00:00
Merge pull request #791 from Laupetin/fix/solution-generation-without-git
fix: being able to generate solution without git submodules on windows
This commit is contained in:
@@ -50,6 +50,14 @@ cd %~dp0
|
|||||||
|
|
||||||
:start
|
:start
|
||||||
|
|
||||||
|
IF NOT EXIST ".git" (
|
||||||
|
git rev-parse --is-inside-work-tree >NUL 2>&1
|
||||||
|
IF ERRORLEVEL 1 (
|
||||||
|
echo You must clone the repository using 'git clone'. Please read README.md.
|
||||||
|
exit 1
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
IF "%PREMAKE_NO_GLOBAL%" EQU "" (
|
IF "%PREMAKE_NO_GLOBAL%" EQU "" (
|
||||||
where /Q "premake5.exe"
|
where /Q "premake5.exe"
|
||||||
IF NOT ERRORLEVEL 1 (
|
IF NOT ERRORLEVEL 1 (
|
||||||
|
|||||||
Reference in New Issue
Block a user