Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Commit

Permalink
stop constantly installing git precommit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
nickg committed Mar 16, 2018
1 parent 0d59ba7 commit e1539ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 62 deletions.
6 changes: 4 additions & 2 deletions Makefile
Expand Up @@ -28,7 +28,7 @@ ci: build lint test ## travis-ci entrypoint
git diff .
./bin/goreleaser --snapshot

build: install_hooks ## Build a beta version of goreleaser
build: hooks ## Build a beta version of goreleaser
go build
./scripts/build_samples.sh

Expand All @@ -45,8 +45,10 @@ clean: ## clean up everything
rm -rf ./bin ./dist
git gc --aggressive

install_hooks: ## install precommit hooks for git
# https://www.client9.com/automatically-install-git-hooks/
.git/hooks/pre-commit: scripts/lint.sh
cp -f scripts/lint.sh .git/hooks/pre-commit
hooks: .git/hooks/pre-commit

# Absolutely awesome: http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
help:
Expand Down
32 changes: 0 additions & 32 deletions shellequal.go

This file was deleted.

28 changes: 0 additions & 28 deletions shellequal_test.go

This file was deleted.

0 comments on commit e1539ed

Please sign in to comment.