Skip to content

Commit

Permalink
- [#] upgrade README for download instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioSun committed Dec 6, 2021
1 parent 74f8481 commit 939b6de
Showing 1 changed file with 11 additions and 25 deletions.
36 changes: 11 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,22 @@
# xmlfmt
# xmlfmt - XML formatting command line tool

About XML formatting, see https://github.com/go-xmlfmt/xmlfmt.

## Download binaries
## Download/Install

- The latest binary executables are available under
https://bintray.com/antoniosun/bin/xmlfmt, or directly under
https://bintray.com/version/files/antoniosun/bin/xmlfmt
as the result of the Continuous-Integration process.
- I.e., they are built during every git push, automatically by [travis-ci](https://travis-ci.org/), right from the source code, truly WYSIWYG.
- Pick & choose the binary executable that suits your OS and its architecture. E.g., for Linux, it would most probably be the `xmlfmt-linux-amd64` file. If your OS and its architecture is not available in the download list, please let me know and I'll add it.
- You may want to rename it to a shorter name instead, e.g., `xmlfmt`, after downloading it.


## Debian package

Available at https://bintray.com/antoniosun/deb/xmlfmt,
or directly at https://dl.bintray.com/antoniosun/deb:

```
echo "deb [trusted=yes] https://dl.bintray.com/antoniosun/deb all main" | sudo tee /etc/apt/sources.list.d/antoniosun-debs.list
sudo apt-get update
sudo chmod 644 /etc/apt/sources.list.d/antoniosun-debs.list
apt-cache policy xmlfmt
sudo apt-get install -y xmlfmt
```
### Download binaries

- The latest binary executables are available right under the github release page
https://github.com/AntonioSun/xmlfmt/releases
as the result of the Continuous-Integration process.
- I.e., they are built during every git tagged push, automatically by [GitHub Actions](https://github.com/features/actions), right from the source code, truely WYSIWYG.
- The `.deb`, `.rpm` and `.apk` packages are readily available, as well as the executables for other Linux and Windows as well.
- Pick & choose the binary executable that suits your OS and its architecture. E.g., for Linux, it would most probably be the `xmlfmt_ver_linux_amd64.tar.gz` file.
- Unzip it and put the executable somewhere in the PATH, after downloading it.


## Install Source
### Install Source

To install the source code instead:

Expand Down

0 comments on commit 939b6de

Please sign in to comment.