mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 19:07:50 +00:00
Use bash for check-license-headers target
This commit is contained in:
parent
fdbfc68f7c
commit
3c1d3e3145
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -155,6 +155,7 @@ gometalinter: require-gometalinter vendor
|
|||
./...
|
||||
|
||||
# Verify that all Go files have license header
|
||||
check-license-headers: SHELL:=/bin/bash
|
||||
check-license-headers:
|
||||
@! find . -name '*.go' | grep -v '^./vendor' | while read fn;\
|
||||
do [[ `head -13 $$fn | shasum | cut -f 1 -d " "` == $(LICENSE_HASH) ]] || echo $$fn; done | \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue