Updated build check script
This commit is contained in:
2
check.sh
2
check.sh
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
FILE="$1"
|
FILE="$1"
|
||||||
|
|
||||||
if [ -f "$FILE" ] || [ -d "$FILE" ];
|
if ([ -f "$FILE" ] && [ -s "$FILE" ]) || ([ -d "$FILE" ] && [ "$(ls -A "$FILE")" ]);
|
||||||
then
|
then
|
||||||
echo "[OK ] $FILE"
|
echo "[OK ] $FILE"
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ endif
|
|||||||
|
|
||||||
CXXFLAGS=$(CFLAGS) -fno-rtti
|
CXXFLAGS=$(CFLAGS) -fno-rtti
|
||||||
|
|
||||||
all: osx_app_framework ios_app_framework osx_unity3d_bundle ios_unity3d_bundle android_jni_lib osx_shared_lib
|
all: osx_app_framework ios_app_framework osx_unity3d_bundle ios_unity3d_bundle android_jni_lib osx_shared_lib check
|
||||||
|
|
||||||
# TODO: CHECK if XCODE TOOLS are installed
|
# TODO: CHECK if XCODE TOOLS are installed
|
||||||
# Build frameworks for application development
|
# Build frameworks for application development
|
||||||
|
|||||||
Reference in New Issue
Block a user