View gist:2636722
This file contains 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
export CLICOLOR=1 | |
export LSCOLORS='ExfxcxdxbxEgEdabagacad' |
View gist:2414047
This file contains 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
diff --git a/misc/machine.h.motemplate b/misc/machine.h.motemplate | |
index 4715701..9c51a9a 100644 | |
--- a/misc/machine.h.motemplate | |
+++ b/misc/machine.h.motemplate | |
@@ -5,7 +5,7 @@ | |
<$if hasCustomSuperentity$>#import "<$customSuperentity$>.h"<$endif$> | |
<$foreach Relationship noninheritedRelationships do$>@class <$Relationship.destinationEntity.managedObjectClassName$>; | |
<$endforeach do$> | |
-<$foreach Attribute noninheritedAttributes do$><$if Attribute.hasTransformableAttributeType$>@class <$Attribute.objectAttributeType$>;<$endif$> | |
+<$foreach Attribute noninheritedAttributes do$><$if Attribute.hasTransformableAttributeType && Attribute.objectAttributeClassName != "NSRange" $>@class <$Attribute.objectAttributeClassName$>;<$endif$> |
View SetBundleVersionToGitCommitHash.sh
This file contains 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/libexec/PlistBuddy -c "Set :CFBundleVersion `/usr/local/git/bin/git rev-parse --short HEAD`" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}" |