Age | Commit message (Collapse) | Author |
|
Add a variable to the makefile and benchmark scripts to let users change the command used to build. Doesn't impact tools like govendor.
|
|
|
|
|
|
|
|
I suspect there are some false negatives in this one.
|
|
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.
|
|
|
|
Add missing deprecated targets. Remove `test` from `check` target since
we already have `test-race`.
Fixes #2901
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
|
Use correct form -X <name>=<value> for Go 1.5
|
|
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
|
|
|
|
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
|