mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-06 02:29:57 +02:00
Indent README with spaces
This commit is contained in:
parent
cce6218b11
commit
4e9603702b
1 changed files with 41 additions and 41 deletions
82
README.md
82
README.md
|
@ -402,65 +402,65 @@ before proceeding:
|
||||||
- [`git`][git]
|
- [`git`][git]
|
||||||
- [`rust`][rust] `v1.32` or higher (install using [`rustup`][rustup])
|
- [`rust`][rust] `v1.32` or higher (install using [`rustup`][rustup])
|
||||||
- [OpenSSL][openssl] or [LibreSSL][libressl] libraries and headers must be available
|
- [OpenSSL][openssl] or [LibreSSL][libressl] libraries and headers must be available
|
||||||
- Linux:
|
- Linux:
|
||||||
- Ubuntu, Debian and derivatives: `apt install build-essential cmake pkg-config libssl-dev`
|
- Ubuntu, Debian and derivatives: `apt install build-essential cmake pkg-config libssl-dev`
|
||||||
- CentOS/Red Hat/openSUSE: `yum install gcc gcc-c++ make cmake openssl-devel`
|
- CentOS/Red Hat/openSUSE: `yum install gcc gcc-c++ make cmake openssl-devel`
|
||||||
- Arch: `pacman -S openssl base-devel`
|
- Arch: `pacman -S openssl base-devel`
|
||||||
- Gentoo: `emerge -a dev-util/pkgconfig dev-util/cmake dev-libs/openssl`
|
- Gentoo: `emerge -a dev-util/pkgconfig dev-util/cmake dev-libs/openssl`
|
||||||
- Fedora: `dnf install gcc gcc-c++ make cmake openssl-devel`
|
- Fedora: `dnf install gcc gcc-c++ make cmake openssl-devel`
|
||||||
- Or see instructions [here](https://github.com/sfackler/rust-openssl#linux)
|
- Or see instructions [here](https://github.com/sfackler/rust-openssl#linux)
|
||||||
- Windows:
|
- Windows:
|
||||||
- See instructions here [here](https://github.com/sfackler/rust-openssl#windows-msvc)
|
- See instructions here [here](https://github.com/sfackler/rust-openssl#windows-msvc)
|
||||||
- macOS:
|
- macOS:
|
||||||
- Using `brew`: `brew install cmake pkg-config openssl`
|
- Using `brew`: `brew install cmake pkg-config openssl`
|
||||||
- Or see instructions [here](https://github.com/sfackler/rust-openssl#osx)
|
- Or see instructions [here](https://github.com/sfackler/rust-openssl#osx)
|
||||||
- FreeBSD:
|
- FreeBSD:
|
||||||
- `pkg install rust gmake pkgconf python36 libxcb xclip ca_root_nss xsel-conrad`
|
- `pkg install rust gmake pkgconf python36 libxcb xclip ca_root_nss xsel-conrad`
|
||||||
- It is a better idea to use & modify the existing `ffsend` port, which manages dependencies for you.
|
- It is a better idea to use & modify the existing `ffsend` port, which manages dependencies for you.
|
||||||
|
|
||||||
### Compile and install
|
### Compile and install
|
||||||
Then, walk through one of the following steps to compile and install `ffsend`:
|
Then, walk through one of the following steps to compile and install `ffsend`:
|
||||||
|
|
||||||
- Compile and install it directly from cargo:
|
- Compile and install it directly from cargo:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Compile and install from cargo
|
# Compile and install from cargo
|
||||||
cargo install ffsend -f
|
cargo install ffsend -f
|
||||||
|
|
||||||
# Start using ffsend
|
# Start using ffsend
|
||||||
ffsend --help
|
ffsend --help
|
||||||
```
|
```
|
||||||
|
|
||||||
- Or clone the repository and install it with `cargo`:
|
- Or clone the repository and install it with `cargo`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone the project
|
# Clone the project
|
||||||
git clone https://github.com/timvisee/ffsend.git
|
git clone https://github.com/timvisee/ffsend.git
|
||||||
cd ffsend
|
cd ffsend
|
||||||
|
|
||||||
# Compile and install
|
# Compile and install
|
||||||
cargo install --path . -f
|
cargo install --path . -f
|
||||||
|
|
||||||
# Start using ffsend
|
# Start using ffsend
|
||||||
ffsend --help
|
ffsend --help
|
||||||
|
|
||||||
# or run it directly from cargo
|
# or run it directly from cargo
|
||||||
cargo run --release -- --help
|
cargo run --release -- --help
|
||||||
```
|
```
|
||||||
|
|
||||||
- Or clone the repository and invoke the binary directly (Linux/macOS):
|
- Or clone the repository and invoke the binary directly (Linux/macOS):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone the project
|
# Clone the project
|
||||||
git clone https://github.com/timvisee/ffsend.git
|
git clone https://github.com/timvisee/ffsend.git
|
||||||
cd ffsend
|
cd ffsend
|
||||||
|
|
||||||
# Build the project (release version)
|
# Build the project (release version)
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
||||||
# Start using ffsend
|
# Start using ffsend
|
||||||
./target/release/ffsend --help
|
./target/release/ffsend --help
|
||||||
```
|
```
|
||||||
|
|
||||||
### Compile features / use flags
|
### Compile features / use flags
|
||||||
Different use flags are available for `ffsend` to toggle whether to include
|
Different use flags are available for `ffsend` to toggle whether to include
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue