Skip to content

Commit

Permalink
Merge pull request #3 from telostat/vst/cross-compilation-instructions
Browse files Browse the repository at this point in the history
Instructions for Cross-Compilation
  • Loading branch information
vst authored Apr 18, 2022
2 parents 79a417f + 89eced3 commit bf51b7a
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 bf51b7a

Please sign in to comment.