Skip to content
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.

Commit

Permalink
Add UK spelling license/licence to the pile
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Galbreath authored and Edward Muller committed Jan 13, 2016
1 parent f39435d commit 08818cc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v49 2016/01/13

* Add UK spelling license/licence to the pile + fix up a bunch of typos
* Clarify tag handling in docs

# v48 2016/01/13

* Abort restore if there is no $GOPATH set.
Expand Down
3 changes: 2 additions & 1 deletion license.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import (
// LicenseFilePrefix is a list of filename prefixes that indicate it
// might contain a software license
var LicenseFilePrefix = []string{
"license",
"licence", // UK spelling
"license", // US spelling
"copying",
"unlicense",
"copyright",
Expand Down
3 changes: 3 additions & 0 deletions license_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ func TestLicenseFiles(t *testing.T) {
{"LICENSE.md", true, true},
{"LICENSE.rst", true, true},
{"LICENSE.txt", true, true},
{"licence", true, true},
{"LICENCE.broadcom", true, true},
{"LICENCE.md", true, true},
{"copying", true, true},
{"COPYING.txt", true, true},
{"unlicense", true, true},
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"runtime"
)

const version = 48
const version = 49

var cmdVersion = &Command{
Name: "version",
Expand Down

0 comments on commit 08818cc

Please sign in to comment.