Bjørn Erik Pedersen
3ced6f8d47
magefile: Disable Go 1.10 gofmt check for now
2018-02-17 01:24:07 +01:00
Bjørn Erik Pedersen
20c9b6ec81
resource: Add front matter metadata to Resource
...
This commit expands the Resource interface with 3 new methods:
* Name
* Title
* Params
All of these can be set in the Page front matter. `Name` will get its default value from the base filename, and is the value used in the ByPrefix and GetByPrefix lookup methods.
Fixes #4244
2018-01-17 16:22:33 +01:00
Vas Sudanagunta
d5803da1be
Support offline builds
2018-01-11 17:22:12 +01:00
Bjørn Erik Pedersen
3153526161
mage: Do not run Go Fmt check on Go tip
2017-12-07 22:38:54 +01:00
Bjørn Erik Pedersen
133cfd1710
mage: Skip Check on Go 1.8
...
See #3988
2017-10-21 19:30:23 +02:00
Bjørn Erik Pedersen
f711b170e4
Update magefile to use Go Dep
...
See #3988
2017-10-21 19:30:23 +02:00
Nate Finch
c9c19d7945
Fix error handling in mage build
...
* print gofmt errors
* don't error on lint failures
* explanatory comments and fix an error text
2017-10-21 17:37:00 +02:00
Bjørn Erik Pedersen
ad5ef43838
Fix mage vs make issues
...
And remove Makefile ... for good.
Fixes #3969
2017-10-18 07:56:10 +02:00
Cameron Moore
66a169a249
Simplify HugoNoGitInfo in magefile
2017-10-07 14:42:54 +02:00
Nate Finch
384a6ac4bd
Create magefile from Makefile
...
This commit makes a magefile.go that should be functionally equivalent to
the current Makefile.
2017-10-03 23:23:10 +02:00