1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-26 22:34:44 +01:00

make install_dev_tools -> setup

This commit is contained in:
Oliver Steele 2017-07-12 20:01:17 -04:00
parent 8d2df7c55f
commit caad408929
3 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@ before_install:
- go get github.com/mattn/goveralls
install:
- make install_dev_tools
- make setup
- go get -t ./...
- pip install --user Pygments
- export PATH=$HOME/.local/bin:$PATH

View File

@ -20,7 +20,7 @@ Fork and clone the repo.
Install package dependencies and development tools:
```bash
make install_dev_tools
make setup
go get -t ./...
```

View File

@ -7,8 +7,8 @@ COMMIT_HASH = `git rev-parse --short HEAD 2>/dev/null`
LDFLAGS=-ldflags "-X ${PACKAGE}.Version=${COMMIT_HASH}"
.DEFAULT_GOAL: $(BINARY)
.PHONY: build clean dependencies setup install lint test help
.DEFAULT_GOAL: build
.PHONY: build clean deps setup install lint test help
$(BINARY): $(SOURCES)
go build ${LDFLAGS} -o ${BINARY} ${PACKAGE}/cmd/gojekyll
@ -21,14 +21,14 @@ clean: ## remove binary files
deps: ## list dependencies
go list -f '{{join .Imports "\n"}}' ./... | grep -v ${PACKAGE} | grep '\.' | sort | uniq
install_dev_tools: ## install dependencies and development tools
setup: ## install dependencies and development tools
go get -u github.com/alecthomas/gometalinter
gometalinter --install
install: ## compile and install the executable
go install ${LDFLAGS} ${PACKAGE}/cmd/gojekyll
lint: ## lint the package
lint: ## Run all the linters
gometalinter ./... --disable=gotype
test: ## test the package