update doc
This commit is contained in:
1 parent
4db1a63b75
commit
fe59f0f30c
6 files changed
+324
-432
No files matched your search
@@ -40,19 +40,19 @@ See [releases](https://github.com/gokcehan/lf/releases) for pre-built binaries.
|
||||
|
||||
Building from the source requires [Go](https://go.dev/).
|
||||
|
||||
On unix (Go version < 1.17):
|
||||
On Unix (Go version < 1.17):
|
||||
|
||||
```bash
|
||||
env CGO_ENABLED=0 GO111MODULE=on go get -u -ldflags="-s -w" github.com/gokcehan/lf
|
||||
```
|
||||
|
||||
On unix (Go version >= 1.17):
|
||||
On Unix (Go version >= 1.17):
|
||||
|
||||
```bash
|
||||
env CGO_ENABLED=0 go install -ldflags="-s -w" github.com/gokcehan/lf@latest
|
||||
```
|
||||
|
||||
On windows `cmd` (Go version < 1.17):
|
||||
On Windows `cmd` (Go version < 1.17):
|
||||
|
||||
```cmd
|
||||
set CGO_ENABLED=0
|
||||
@@ -60,14 +60,14 @@ set GO111MODULE=on
|
||||
go get -u -ldflags="-s -w" github.com/gokcehan/lf
|
||||
```
|
||||
|
||||
On windows `cmd` (Go version >= 1.17):
|
||||
On Windows `cmd` (Go version >= 1.17):
|
||||
|
||||
```cmd
|
||||
set CGO_ENABLED=0
|
||||
go install -ldflags="-s -w" github.com/gokcehan/lf@latest
|
||||
```
|
||||
|
||||
On windows `powershell` (Go version < 1.17):
|
||||
On Windows `powershell` (Go version < 1.17):
|
||||
|
||||
```powershell
|
||||
$env:CGO_ENABLED = '0'
|
||||
@@ -75,7 +75,7 @@ $env:GO111MODULE = 'on'
|
||||
go get -u -ldflags="-s -w" github.com/gokcehan/lf
|
||||
```
|
||||
|
||||
On windows `powershell` (Go version >= 1.17):
|
||||
On Windows `powershell` (Go version >= 1.17):
|
||||
|
||||
```powershell
|
||||
$env:CGO_ENABLED = '0'
|
||||
|
||||
Reference in new issue
Block a user