This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [[ ! ( # any of the following are not true | |
# 1st arg is an existing regular file | |
-f "$1" && | |
# ...and it has a .ipa extension | |
"${1##*.}" == "ipa" && | |
# 2nd arg is an existing regular file | |
-f "$2" && | |
# ...and it has an .mobileprovision extension |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LUA_CFLAGS=`pkg-config lua5.1 --cflags` | |
all: stringext.so | |
stringext.so: stringext.c | |
gcc $(LUA_CFLAGS) -O3 -fPIC -o stringext.o -c stringext.c | |
gcc -shared -O3 stringext.o -o stringext.so |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Implements basic equals methods and bool converions, similar to UnityEngine.Object | |
/// </summary> | |
public class BaseObject | |
{ | |
public override bool Equals(object obj) | |
{ | |
return AreObjectsEqual(this, obj as BaseObject); | |
} | |
public override int GetHashCode() |