blob: 1a5a861ae22387c3e139367be234b0248f7c166c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
## Usage
Run using `patchup`. For more information, see `patchup --help`.
#### Create Patch
To create a new patch file given two separate directories:
```
patchup diff <source_directory> <target_directory> <patch_file>
```
#### Apply Patch
To apply a given patch to a directory:
```
patchup patch <source_directory> <patch_file>
```
## Installation
#### Manual
```
# If required, update Rust on the stable channel
rust update stable
# Clone this repo from master
git clone https://github.com/dezyh/patchup
# Install using Cargo
cd patchup
cargo install --path cli
```
#### AUR
Normal package found here, binary package found here
```
# To compile from source:
yay -S patchup
# To download a pre-built binary:
yay -S patchup-bin
```
|