Link to Windows executables in the Readme
This commit is contained in:
parent
5fad708df5
commit
bf9b841b07
|
@ -25,7 +25,7 @@ There are a variety of ways to use ShellCheck!
|
||||||
#### On the web
|
#### On the web
|
||||||
Paste a shell script on http://www.shellcheck.net for instant feedback.
|
Paste a shell script on http://www.shellcheck.net for instant feedback.
|
||||||
|
|
||||||
[ShellCheck.net](http://www.shellcheck.net) is always synchronized to the latest git commit, and is the simplest way to give ShellCheck a go. Tell your friends!
|
[ShellCheck.net](http://www.shellcheck.net) is always synchronized to the latest git commit, and is the easiest way to give ShellCheck a go. Tell your friends!
|
||||||
|
|
||||||
|
|
||||||
#### From your terminal
|
#### From your terminal
|
||||||
|
@ -126,13 +126,9 @@ or use OneClickInstall - https://software.opensuse.org/package/ShellCheck
|
||||||
From Docker Hub:
|
From Docker Hub:
|
||||||
|
|
||||||
docker pull koalaman/shellcheck
|
docker pull koalaman/shellcheck
|
||||||
|
|
||||||
Using the Docker image can be done like so:
|
|
||||||
|
|
||||||
docker run -v "$PWD:/mnt" koalaman/shellcheck myscript
|
docker run -v "$PWD:/mnt" koalaman/shellcheck myscript
|
||||||
|
|
||||||
Here the current directory `$PWD` is mounted as the container's directory `/mnt`, which is ShellCheck's working directory in the image. The script `myscript` is checked.
|
For Windows, you can download [precompiled Windows executables](https://storage.googleapis.com/shellcheck/shellcheck-latest.zip).
|
||||||
|
|
||||||
## Compiling from source
|
## Compiling from source
|
||||||
|
|
||||||
This section describes how to build ShellCheck from a source directory. ShellCheck is written in Haskell and requires 2GB of RAM to compile.
|
This section describes how to build ShellCheck from a source directory. ShellCheck is written in Haskell and requires 2GB of RAM to compile.
|
||||||
|
|
Loading…
Reference in New Issue