Commit graph

3 commits

Author SHA1 Message Date
Derek Perkins ac6b86aff8 Added top level .Hugo variable with version, commit and generator information + docs
Added Version, CommitHash and BuildDate to hugolib/hugo.go and used it in build
Removed commitHash and buildDate from commands/version.go and used hugolib vars
Removed getDateFormat function from commands/version.go

Conflicts:
	README.md
	docs/content/templates/variables.md
2015-01-19 01:22:23 +01:00
Austin Ziegler be3d563a13 Add an install target to Makefile. 2014-12-09 11:12:40 +01:00
Rasmus Stougaard c5ae2a2d1d Added makefile that builds with git information
I have put the extra linker flags in a makefile to avoid having to remember the long command to get the commitHash in the version command.

See comment by tatsushid here:
https://github.com/spf13/hugo/issues/540

NB: only tested on Mac OS x 10.10.1 since that is what I have access to
2014-11-24 17:25:51 -05:00