Skip to content

Commit

Permalink
add install
Browse files Browse the repository at this point in the history
  • Loading branch information
loeffel-io committed Mar 4, 2020
1 parent bd64aff commit f85c978
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ test-coverage:

build:
GOOS=darwin GOARCH=amd64 go build -o ls-lint-darwin
GOOS=linux GOARCH=amd64 go build -o ls-lint-linux
chmod +x ls-lint-darwin
chmod +x ls-lint-linux
GOOS=linux GOARCH=amd64 go build -o ls-lint-linux
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ ignore:
- .git
```
## Install & Run
### MacOS
```bash
curl -sL -o ls-lint https://github.com/loeffel.io/ls-lint/releases/download/v1.0.0/ls-lint-darwin && chmod +x ls-lint && ./ls-lint
```

### Linux

```bash
curl -sL -o ls-lint https://github.com/loeffel.io/ls-lint/releases/download/v1.0.0/ls-lint-linux && chmod +x ls-lint && ./ls-lint
```

## Rules

| Rule | Alias | Description |
Expand Down

0 comments on commit f85c978

Please sign in to comment.