Updated build check script

This commit is contained in:
Joseph Henry
2016-06-23 12:17:37 -07:00
parent df8c4582e5
commit eb29aaa3f2
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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