mirror of
https://github.com/icewind1991/notify-redis.git
synced 2026-06-03 18:24:12 +02:00
Add build instructions
This commit is contained in:
parent
77be5f9dff
commit
6c25409d0d
1 changed files with 9 additions and 1 deletions
10
README.md
10
README.md
|
|
@ -2,6 +2,14 @@
|
||||||
|
|
||||||
Push filesystem notifications into a redis list
|
Push filesystem notifications into a redis list
|
||||||
|
|
||||||
|
## Getting the binary
|
||||||
|
|
||||||
|
There are 3 ways for getting the binary to run
|
||||||
|
|
||||||
|
- Grab a pre-compiled static binary from the [releases](https://github.com/icewind1991/notify-redis/releases) page.
|
||||||
|
- By running `make` to use docker to build a static binary (requires `make` and `docker`)
|
||||||
|
- By running `cargo build` (requires `rust`)
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -15,4 +23,4 @@ The events are encoded in the following ways
|
||||||
- `remame|$from|$to`
|
- `remame|$from|$to`
|
||||||
- `remove|$path`
|
- `remove|$path`
|
||||||
|
|
||||||
Filesystem events are debounced and merge where applicable (e.g. `touch foo.txt`, `mv foo.txt bar.txt` will result in one write event for `bar.txt`)
|
Filesystem events are debounced and merge where applicable (e.g. `touch foo.txt`, `mv foo.txt bar.txt` will result in one write event for `bar.txt`)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue