Skip to content

Commit

Permalink
rework legal stuff to make goreleaser happy
Browse files Browse the repository at this point in the history
  • Loading branch information
nickg committed May 28, 2017
1 parent ed57c6a commit 14696a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ can check your code using [golint](https://github.com/golang/lint)
The main code is [MIT](https://github.com/client9/misspell/blob/master/LICENSE).

Misspell also makes uses of the Golang standard library and contains a modified version of Golang's [strings.Replacer](https://golang.org/pkg/strings/#Replacer)
which are covered under a [BSD License](https://github.com/golang/go/blob/master/LICENSE). Type `misspell -legal` for more details or see [legal.go](https://github.com/client9/misspell/blob/master/cmd/misspell/legal.go)
which are covered under a [BSD License](https://github.com/golang/go/blob/master/LICENSE). Type `misspell -legal` for more details or see [legal.go](https://github.com/client9/misspell/blob/master/legal.go)

<a name="words"></a>
### Where do the word lists come from?
Expand Down
2 changes: 1 addition & 1 deletion cmd/misspell/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func main() {
return
}
if *showLegal {
fmt.Println(legal)
fmt.Println(misspell.Legal)
return
}
if *debugFlag {
Expand Down
5 changes: 3 additions & 2 deletions cmd/misspell/legal.go → legal.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package main
package misspell

const legal = `
// Legal provides licensing info.
const Legal = `
Execept where noted below, the source code for misspell is
copyright Nick Galbreath and distribution is allowed under a
MIT license. See the following for details:
Expand Down

0 comments on commit 14696a5

Please sign in to comment.