Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
timoxa0 | 43ef704a32 | ||
timoxa0 | 79a4768ae7 |
|
@ -8,5 +8,5 @@
|
|||
### Linux (binary)
|
||||
```curl -Ls s.tx0.su/ltl | bash```
|
||||
|
||||
### Linux/macOS (biuld from source)
|
||||
### Linux/macOS (build from source)
|
||||
```curl -Ls s.tx0.su/lts | bash```
|
||||
|
|
|
@ -23,6 +23,6 @@ pushd ~/.lon-tool-src &> /dev/null
|
|||
rev=$(git describe --abbrev=4 --dirty --always --tags)
|
||||
go get git.timoxa0.su/timoxa0/lon-tool/cmd
|
||||
go build -ldflags "-X git.timoxa0.su/timoxa0/lon-tool/cmd.version=$rev" -o "$HOME/.local/bin/lon-tool" main.go && {
|
||||
printf "\e[32mDone!\e[0m Installed at %s\n" "$HOME/go/bin/lon-tool"
|
||||
printf "\e[32mDone!\e[0m Installed at %s\n" "$HOME/.local/bin/lon-tool"
|
||||
}
|
||||
popd &> /dev/null
|
||||
|
|
Loading…
Reference in a new issue