Skip to content

Commit

Permalink
Merge pull request #53 from moul/dev/moul/maintenance
Browse files Browse the repository at this point in the history
chore: repo maintenance 🤖
  • Loading branch information
moul authored Jul 3, 2020
2 parents 691710c + 4b3354c commit 58997e4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AUTHORS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,20 @@ UNITTEST_STEPS += go.unittest
FMT_STEPS += go.fmt
endif

##
## Gitattributes
##

ifneq ($(wildcard .gitattributes),)
.PHONY: _linguist-ignored
_linguist-kept:
@git check-attr linguist-vendored $(shell git check-attr linguist-generated $(shell find . -type f | grep -v .git/) | grep unspecified | cut -d: -f1) | grep unspecified | cut -d: -f1 | sort

.PHONY: _linguist-kept
_linguist-ignored:
@git check-attr linguist-vendored linguist-ignored `find . -not -path './.git/*' -type f` | grep '\ set$$' | cut -d: -f1 | sort -u
endif

##
## Node
##
Expand Down

0 comments on commit 58997e4

Please sign in to comment.