Skip to content

Instantly share code, notes, and snippets.

View gist:2230312
CraigCottingham / gist:2152417
Created March 21, 2012 20:16
Script to turn Git version into plist preprocessor vars for Xcode
View gist:2152417
GIT=`which git`
touch $PLIST
VERSION=`$GIT describe --dirty | sed 's/[a-zA-Z]*//'`
SHORT_VERSION=`echo $VERSION | sed 's/\-[0-9]*\-[a-zA-Z0-9]*//'`
CraigCottingham / .gitattributes
Created March 21, 2012 14:54
.gitignore and .gitattributes for Xcode 4.3
View .gitattributes
# treats your Xcode project file as a binary; prevents Git from trying to fix newlines, show in diffs, and excludes from merges
*.pbxproj -crlf -diff -merge
View gist:1346875
craigc@samantha:~/Projects/glitch$ gem list
*** LOCAL GEMS ***
activesupport (3.1.1)
bundler (1.0.21)
i18n (0.6.0)
multi_json (1.0.3)
nestful (0.0.7)
rake (0.9.2)