diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-30 15:18:22 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-30 15:18:22 +0800 |
commit | f23529c5cde47f713ada745629a7bdc8e1506fa7 (patch) | |
tree | 83832397b24ab9d6dfbfa0ae8538700ec62f3ad2 /update-license.go | |
parent | e1c6c01b4d598f9b7f7ee31326d25903084fc292 (diff) | |
download | dexon-f23529c5cde47f713ada745629a7bdc8e1506fa7.tar.gz dexon-f23529c5cde47f713ada745629a7bdc8e1506fa7.tar.zst dexon-f23529c5cde47f713ada745629a7bdc8e1506fa7.zip |
General repo cleanup
Diffstat (limited to 'update-license.go')
-rw-r--r-- | update-license.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update-license.go b/update-license.go index 832a94712..e55732a53 100644 --- a/update-license.go +++ b/update-license.go @@ -40,7 +40,7 @@ var ( extensions = []string{".go", ".js", ".qml"} // paths with any of these prefixes will be skipped - skipPrefixes = []string{"tests/files/", "cmd/mist/assets/ext/", "cmd/mist/assets/muted/"} + skipPrefixes = []string{"Godeps/", "tests/files/", "cmd/mist/assets/ext/", "cmd/mist/assets/muted/"} // paths with this prefix are licensed as GPL. all other files are LGPL. gplPrefixes = []string{"cmd/"} @@ -190,7 +190,7 @@ func fileInfo(file string) (*info, error) { break } } - cmd := exec.Command("git", "log", "--follow", "--find-copies", "--pretty=format:%aI | %aN <%aE>", "--", file) + cmd := exec.Command("git", "log", "--follow", "--find-copies", "--pretty=format:%ai | %aN <%aE>", "--", file) err := doLines(cmd, func(line string) { sep := strings.IndexByte(line, '|') year, name := line[:4], line[sep+2:] |