Commit graph

8 commits

Author SHA1 Message Date
Cameron Moore
d3627b1747 Simplify Travis build 2016-08-16 17:01:59 -05:00
Bjørn Erik Pedersen
fd5d573566 Add go test -race to make check 2016-04-07 13:36:48 +02:00
Cameron Moore
e8cf8b40df hugo: Add check tasks to Makefile
Add some helpful tasks to the Makefile to make it easier to test code quality
prior to committing.  Use `make check` to run the standard checks.  As of now,
the cyclo and lint tasks are not part of the standard checks since Hugo doesn't
pass those checks.
2016-03-22 19:40:27 +01:00
Sven Dowideit
7bc5d3663f Use a Docker container to build hugo
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-01-04 12:47:23 -05:00
Andrew Carter
c2869aead0 Fix -ldflags for Go 1.5
Use correct form -X <name>=<value> for Go 1.5
2015-08-21 09:14:15 +02:00
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