summaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)Author
2017-07-16Add GOEXE to support building with different versions of `go`Michael Henderson
Add a variable to the makefile and benchmark scripts to let users change the command used to build. Doesn't impact tools like govendor.
2017-06-13Update Makefile vs gohugoio/hugoBjørn Erik Pedersen
2017-06-13all: Update import paths to gohugoio/hugoBjørn Erik Pedersen
2017-04-22Fix check-vendor logic in MakefileCameron Moore
2017-04-19Remove check-vendor from make checkBjørn Erik Pedersen
I suspect there are some false negatives in this one.
2017-04-19Add check-vendor target to MakefileCameron Moore
The check-vendor target will exit with an error if any files in vendor/ differ from what's checked into git. govendor checksums can get out of sync if extraneous files are in the local, third-party repo (see kardianos/govendor#129). govendor also updates the vendor.json upon "sync." We can use that quirk to detect out of sync checksums in CI, so I've added check-vendor to the check target dependencies.
2017-01-18make: Fix typoDmitry Kurkin
2017-01-11Clean up Makefile (#2924)Cameron Moore
Add missing deprecated targets. Remove `test` from `check` target since we already have `test-race`. Fixes #2901
2016-11-27makefile: Add test-cover-htmlBjørn Erik Pedersen
2016-10-14Use govendor sync instead of getCameron Moore
2016-09-19Add vendoring with govendorCameron Moore
2016-08-16Simplify Travis buildCameron Moore
2016-04-07Add go test -race to make checkBjørn Erik Pedersen
2016-03-22hugo: Add check tasks to MakefileCameron Moore
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-01-04Use a Docker container to build hugoSven Dowideit
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2015-08-21Fix -ldflags for Go 1.5Andrew Carter
Use correct form -X <name>=<value> for Go 1.5
2015-01-19Added top level .Hugo variable with version, commit and generator ↵Derek Perkins
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
2014-12-09Add an `install` target to Makefile.Austin Ziegler
2014-11-24Added makefile that builds with git informationRasmus Stougaard
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