Skip to content

Commit

Permalink
chore(docs): add instructions for cross-compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
vst committed Apr 17, 2022
1 parent 79a417f commit 89eced3
Showing 1 changed file with 27 additions and 10 deletions.
37 changes: 27 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,37 @@
## Installation

1. Install [rclone](https://rclone.org/install/)
2. Put `rrclone` onto `$PATH`
1. Put `rrclone` onto `$PATH`

## Usage

1. Configure rclone
2. Prepare configuration file for `rrclone`.
3. Run `rrclone` in dry-run mode:
```sh
rrclone ./config.yaml --dry-run
```
4. Run rrclone:
```sh
rrclone ./config.yaml
```
1. Prepare configuration file for `rrclone`.
1. Run `rrclone` in dry-run mode:

```sh
rrclone ./config.yaml --dry-run
```

1. Run rrclone:

```sh
rrclone ./config.yaml
```

## Cross Compilation

Install [cross](https://github.com/cross-rs/cross):

```sh
cargo install -f cross
```

Cross compile, for example for Linux on aarch64:

```sh
cross build --target aarch64-unknown-linux-gnu --release
```

## License

Expand Down

0 comments on commit 89eced3

Please sign in to comment.