diff options
| author | Indrajith K L | 2025-11-03 19:50:20 +0530 |
|---|---|---|
| committer | Indrajith K L | 2025-11-03 19:50:20 +0530 |
| commit | e19bddd8d7b77e6aa173b8138b31679415afb3fa (patch) | |
| tree | 39fddf62f7f3c8e52ac87e0f1dd2b2b7b9285f16 /scripts/build_dev.bat | |
| parent | 9bb3957d5fd3f176e8bd888c53a65c54f62cfab6 (diff) | |
| download | reilua-enhanced-e19bddd8d7b77e6aa173b8138b31679415afb3fa.tar.gz reilua-enhanced-e19bddd8d7b77e6aa173b8138b31679415afb3fa.tar.bz2 reilua-enhanced-e19bddd8d7b77e6aa173b8138b31679415afb3fa.zip | |
chore: fix build scripts to create build directory and update gitignore
- Update all build scripts (.sh and .bat) to automatically create build directory if it doesn't exist
- Fix 'can't cd to build' error that occurred when build directory was missing
- Update .gitignore to exclude build artifacts and IDE files
- Add proper navigation to project root in build_dev.bat for consistency
Diffstat (limited to 'scripts/build_dev.bat')
| -rw-r--r-- | scripts/build_dev.bat | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/build_dev.bat b/scripts/build_dev.bat index c1d79d2..40f394e 100644 --- a/scripts/build_dev.bat +++ b/scripts/build_dev.bat @@ -7,7 +7,11 @@ echo ReiLua - Development Build echo ================================ echo. -REM Navigate to build directory +REM Get script directory and navigate to project root +cd /d "%~dp0.." + +REM Create and navigate to build directory +if not exist "build" mkdir build cd build if errorlevel 1 ( echo ERROR: Cannot access build directory |
