mirror of
https://github.com/danog/gojekyll.git
synced 2025-01-22 20:21:15 +01:00
Make gets dependencies
This commit is contained in:
parent
319d3c4aeb
commit
59316fde63
@ -11,7 +11,6 @@ before_install:
|
||||
|
||||
install:
|
||||
- make setup
|
||||
- go get -t ./...
|
||||
- pip install --user Pygments
|
||||
- export PATH=$HOME/.local/bin:$PATH
|
||||
|
||||
|
3
Makefile
3
Makefile
@ -28,11 +28,12 @@ race: ## build a binary with race detection
|
||||
go build -race ${LDFLAGS} -o ${BINARY}-race ${PACKAGE}
|
||||
|
||||
setup: ## install dependencies and development tools
|
||||
go get -t ./...
|
||||
go get -u github.com/alecthomas/gometalinter
|
||||
gometalinter --install
|
||||
|
||||
install: ## compile and install the executable
|
||||
go install ${LDFLAGS} ${PACKAGE}/cmd/gojekyll
|
||||
go install ${LDFLAGS} ${PACKAGE}
|
||||
|
||||
lint: ## Run all the linters
|
||||
gometalinter ./... --disable=gotype --disable=aligncheck
|
||||
|
Loading…
x
Reference in New Issue
Block a user