From 2e3310c9de01f9b636075769a35db7293ed9dbb7 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 12 Feb 2019 12:18:26 +0100 Subject: [PATCH] Review scripts name and mini_al inclusion --- projects/scripts/README.md | 8 ++++---- projects/scripts/{linux-build.sh => build-linux.sh} | 2 +- projects/scripts/{osx-build.sh => build-osx.sh} | 2 +- projects/scripts/{windows-build.bat => build-windows.bat} | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) rename projects/scripts/{linux-build.sh => build-linux.sh} (98%) mode change 100755 => 100644 rename projects/scripts/{osx-build.sh => build-osx.sh} (98%) mode change 100755 => 100644 rename projects/scripts/{windows-build.bat => build-windows.bat} (99%) diff --git a/projects/scripts/README.md b/projects/scripts/README.md index cdfa29bf..ccc4b4db 100644 --- a/projects/scripts/README.md +++ b/projects/scripts/README.md @@ -58,10 +58,10 @@ all of the flags. #### Examples | What the command does | Command | |-------------------------------------------------------------|---------------------------| -| Build a release build, on Windows | `windows-build.bat` | -| Build a release build, full recompile, on Linux | `./linux-build.sh -c` | -| Build a debug build and run, on macOS | `./osx-build.sh -d -r` | -| Build in debug, run, don't print at all, on Linux with `sh` | `sh linux-build.sh -drqq` | +| Build a release build, on Windows | `build-windows.bat` | +| Build a release build, full recompile, on Linux | `./build-linux.sh -c` | +| Build a debug build and run, on macOS | `./build-osx.sh -d -r` | +| Build in debug, run, don't print at all, on Linux with `sh` | `sh build-linux.sh -drqq` | [visual-studio]: https://visualstudio.microsoft.com/downloads/#visual-studio-community-2017 diff --git a/projects/scripts/linux-build.sh b/projects/scripts/build-linux.sh old mode 100755 new mode 100644 similarity index 98% rename from projects/scripts/linux-build.sh rename to projects/scripts/build-linux.sh index abbe0e47..965542ce --- a/projects/scripts/linux-build.sh +++ b/projects/scripts/build-linux.sh @@ -114,7 +114,7 @@ if [ ! -d "$TEMP_DIR" ]; then mkdir -p $TEMP_DIR cd $TEMP_DIR RAYLIB_DEFINES="-D_DEFAULT_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33" - RAYLIB_C_FILES="$RAYLIB_SRC/core.c $RAYLIB_SRC/shapes.c $RAYLIB_SRC/textures.c $RAYLIB_SRC/text.c $RAYLIB_SRC/models.c $RAYLIB_SRC/utils.c $RAYLIB_SRC/raudio.c $RAYLIB_SRC/rglfw.c $RAYLIB_SRC/external/mini_al.c" + RAYLIB_C_FILES="$RAYLIB_SRC/core.c $RAYLIB_SRC/shapes.c $RAYLIB_SRC/textures.c $RAYLIB_SRC/text.c $RAYLIB_SRC/models.c $RAYLIB_SRC/utils.c $RAYLIB_SRC/raudio.c $RAYLIB_SRC/rglfw.c" RAYLIB_INCLUDE_FLAGS="-I$RAYLIB_SRC -I$RAYLIB_SRC/external/glfw/include" if [ -n "$REALLY_QUIET" ]; then diff --git a/projects/scripts/osx-build.sh b/projects/scripts/build-osx.sh old mode 100755 new mode 100644 similarity index 98% rename from projects/scripts/osx-build.sh rename to projects/scripts/build-osx.sh index fd4f77b7..1a5ad743 --- a/projects/scripts/osx-build.sh +++ b/projects/scripts/build-osx.sh @@ -108,7 +108,7 @@ if [ ! -d "$TEMP_DIR" ]; then mkdir -p $TEMP_DIR cd $TEMP_DIR RAYLIB_DEFINES="-D_DEFAULT_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33" - RAYLIB_C_FILES="$RAYLIB_SRC/core.c $RAYLIB_SRC/shapes.c $RAYLIB_SRC/textures.c $RAYLIB_SRC/text.c $RAYLIB_SRC/models.c $RAYLIB_SRC/utils.c $RAYLIB_SRC/raudio.c $RAYLIB_SRC/external/mini_al.c" + RAYLIB_C_FILES="$RAYLIB_SRC/core.c $RAYLIB_SRC/shapes.c $RAYLIB_SRC/textures.c $RAYLIB_SRC/text.c $RAYLIB_SRC/models.c $RAYLIB_SRC/utils.c $RAYLIB_SRC/raudio.c" RAYLIB_INCLUDE_FLAGS="-I$RAYLIB_SRC -I$RAYLIB_SRC/external/glfw/include" if [ -n "$REALLY_QUIET" ]; then diff --git a/projects/scripts/windows-build.bat b/projects/scripts/build-windows.bat similarity index 99% rename from projects/scripts/windows-build.bat rename to projects/scripts/build-windows.bat index e56141bc..b179b560 100644 --- a/projects/scripts/windows-build.bat +++ b/projects/scripts/build-windows.bat @@ -159,7 +159,7 @@ IF NOT EXIST !TEMP_DIR!\ ( cd !TEMP_DIR! REM Raylib's src folder set "RAYLIB_DEFINES=/D_DEFAULT_SOURCE /DPLATFORM_DESKTOP /DGRAPHICS_API_OPENGL_33" - set RAYLIB_C_FILES="!RAYLIB_SRC!\core.c" "!RAYLIB_SRC!\shapes.c" "!RAYLIB_SRC!\textures.c" "!RAYLIB_SRC!\text.c" "!RAYLIB_SRC!\models.c" "!RAYLIB_SRC!\utils.c" "!RAYLIB_SRC!\raudio.c" "!RAYLIB_SRC!\rglfw.c" "!RAYLIB_SRC!\external\mini_al.c" + set RAYLIB_C_FILES="!RAYLIB_SRC!\core.c" "!RAYLIB_SRC!\shapes.c" "!RAYLIB_SRC!\textures.c" "!RAYLIB_SRC!\text.c" "!RAYLIB_SRC!\models.c" "!RAYLIB_SRC!\utils.c" "!RAYLIB_SRC!\raudio.c" "!RAYLIB_SRC!\rglfw.c" set RAYLIB_INCLUDE_FLAGS=/I"!RAYLIB_SRC!" /I"!RAYLIB_SRC!\external\glfw\include" IF DEFINED REALLY_QUIET (