Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ changelog:
exclude:
- '^docs:'
- '^test:'
- 'README.md'
- 'README'
- Merge pull request
- Merge branch

Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: go
go:
- 1.9.x
- 1.10.x
script: make test
script: make check_generated test

after_success:
- test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
Expand Down
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,13 @@ test:
golangci-lint run --fast --no-config -v ./test/testdata/typecheck.go
go test -v -race ./...

assets:
svg-term --cast=183662 --out docs/demo.svg --window --width 110 --height 30 --from 2000 --to 20000 --profile Dracula --term iterm2

readme:
go run ./scripts/gen_readme/main.go

check_generated:
make readme && git diff --exit-code # check no changes

.PHONY: test
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Sponsored by [GolangCI.com](https://golangci.com): SaaS service for running lint

<a href="https://golangci.com/"><img src="docs/go.png" width="250px"></a>

* [Install](#install)
* [Demo](#demo)
* [Install](#install)
* [Quick Start](#quick-start)
* [Comparison](#comparison)
* [<code>golangci-lint</code> vs <code>gometalinter</code>](#golangci-lint-vs-gometalinter)
Expand All @@ -31,6 +31,14 @@ Sponsored by [GolangCI.com](https://golangci.com): SaaS service for running lint
* [Future Plans](#future-plans)
* [Contact Information](#contact-information)

# Demo
<p align="center">
<img src="./docs/demo.svg" width="100%">
</p>

Short 1.5 min video demo of analyzing [beego](https://github.com/astaxie/beego).
[![asciicast](https://asciinema.org/a/183662.png)](https://asciinema.org/a/183662)

# Install
Recommended way to install is:
```bash
Expand All @@ -49,12 +57,6 @@ curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh |

Check the [releases page](https://github.com/golangci/golangci-lint/releases) to fix the version.

# Demo
Example of output:
![Screenshot of sample output](docs/run_screenshot.png)

Short 1.5 min video demo of analyzing [beego](https://github.com/astaxie/beego).
[![asciicast](https://asciinema.org/a/1a1qaEXMlOSeRyvASbnuFomah.png)](https://asciinema.org/a/1a1qaEXMlOSeRyvASbnuFomah)

# Quick Start
To run golangci-lint execute:
Expand Down
16 changes: 9 additions & 7 deletions README.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Sponsored by [GolangCI.com](https://golangci.com): SaaS service for running lint

<a href="https://golangci.com/"><img src="docs/go.png" width="250px"></a>

* [Install](#install)
* [Demo](#demo)
* [Install](#install)
* [Quick Start](#quick-start)
* [Comparison](#comparison)
* [<code>golangci-lint</code> vs <code>gometalinter</code>](#golangci-lint-vs-gometalinter)
Expand All @@ -31,6 +31,14 @@ Sponsored by [GolangCI.com](https://golangci.com): SaaS service for running lint
* [Future Plans](#future-plans)
* [Contact Information](#contact-information)

# Demo
<p align="center">
<img src="./docs/demo.svg" width="100%">
</p>

Short 1.5 min video demo of analyzing [beego](https://github.com/astaxie/beego).
[![asciicast](https://asciinema.org/a/183662.png)](https://asciinema.org/a/183662)

# Install
Recommended way to install is:
```bash
Expand All @@ -49,12 +57,6 @@ curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh |

Check the [releases page](https://github.com/golangci/golangci-lint/releases) to fix the version.

# Demo
Example of output:
![Screenshot of sample output](docs/run_screenshot.png)

Short 1.5 min video demo of analyzing [beego](https://github.com/astaxie/beego).
[![asciicast](https://asciinema.org/a/1a1qaEXMlOSeRyvASbnuFomah.png)](https://asciinema.org/a/1a1qaEXMlOSeRyvASbnuFomah)

# Quick Start
To run golangci-lint execute:
Expand Down
1 change: 1 addition & 0 deletions docs/demo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/run_screenshot.png
Binary file not shown.