From 40c7b056bb52a617db8125585f25460113ca43cb Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Sun, 28 Feb 2021 14:15:31 -0500 Subject: [PATCH] add LICENSE file Make the MIT license easier to see by adding a LICENSE file. Use the template at https://choosealicense.com/licenses/mit. Also regenerate .travis.yml and README.md files with gorepogen. --- LICENSE | 21 ++++++++++++++++++++ README.md | 6 +++--- internal/shurcooL/highlight_diff/.travis.yml | 4 ++-- 3 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ff0916e --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2014 Dmitri Shuralyov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 1207a70..76b8b39 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Installation ------------ ```bash -go get -u github.com/gobuffalo/github_flavored_markdown +go get github.com/gobuffalo/github_flavored_markdown ``` Directories @@ -24,9 +24,9 @@ Directories | Path | Synopsis | |-------------------------------------------------------------------------------------|------------------------------------------------------------------------------| -| [gfmstyle](https://godoc.org/github.com/gobuffalo/github_flavored_markdown/gfmstyle) | Package gfmstyle contains CSS styles for rendering GitHub Flavored Markdown. | +| [gfmstyle](https://pkg.go.dev/github.com/gobuffalo/github_flavored_markdown/gfmstyle) | Package gfmstyle contains CSS styles for rendering GitHub Flavored Markdown. | License ------- -- [MIT License](https://opensource.org/licenses/mit-license.php) +- [MIT License](LICENSE) diff --git a/internal/shurcooL/highlight_diff/.travis.yml b/internal/shurcooL/highlight_diff/.travis.yml index 93b1fcd..6452acb 100644 --- a/internal/shurcooL/highlight_diff/.travis.yml +++ b/internal/shurcooL/highlight_diff/.travis.yml @@ -11,6 +11,6 @@ install: - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step). script: - go get -t -v ./... - - diff -u <(echo -n) <(gofmt -d -s .) - - go tool vet . + - diff -n <(echo -n) <(gofmt -d -s .) + - go vet ./... - go test -v -race ./...