Last active
August 29, 2015 14:00
-
-
Save mtwilliams/11102421 to your computer and use it in GitHub Desktop.
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
DEFINES += -DGAME_VERSION="\"$(shell build/version.sh)\"" | |
DEFINES += -DENGINE_VERSION="\"$(shell cd engine; ../build/version.sh)\"" | |
DEFINES += -DCONTENT_VERSION="\"$(shell cd data_src; ../build/version.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/bin/env bash | |
# No hacks for hg! | |
COMMIT=`git log --pretty=oneline | wc -l` | |
REVISION=`git rev-parse HEAD` | |
echo "$COMMIT ($REVISION)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment