Last active
August 29, 2015 14:02
-
-
Save JSchaenzle/835c1849d7d7382f7af4 to your computer and use it in GitHub Desktop.
Revisions
-
JSchaenzle revised this gist
Jun 11, 2014 . 1 changed file with 1 addition and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,10 @@ def foobar hash = `git show --pretty=%h`.strip.upcase contents = <<-eof #ifndef VERSION_INFO_H #define VERSION_INFO_H #define CURRENT_GET_HASH "#{hash}" #endif eof puts contents end -
JSchaenzle created this gist
Jun 11, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ def foobar contents = <<-eof #ifndef VERSION_INFO_H #define VERSION_INFO_H #define CURRENT_GET_HASH "#{hash}" #endif eof puts contents end