You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Clone this repository (e.g., `git clone https://github.com/tkellogg/dura.git`)
92
+
3. Navigate to repository base directory (`cd dura`)
93
+
4. Run `cargo install --path .`**Note:** If you receive a failure fetching the cargo dependencies try using the local [git client for cargo fetches](https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli). `CARGO_NET_GIT_FETCH_WITH_CLI=true cargo install --path .`
94
+
95
+
### Mac OS X
96
+
97
+
This installs `dura` and sets up a launchctl service to keep it running.
2. Clone this repository (e.g., `git clone https://github.com/tkellogg/dura.git`)
106
+
3. Navigate to repository base directory (`cd dura`)
107
+
4. Run `cargo install --path .`**Note:** If you receive a failure fetching the cargo dependencies try using the local [git client for cargo fetches](https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli). `CARGO_NET_GIT_FETCH_WITH_CLI=true cargo install --path .`
108
+
84
109
### Arch Linux
85
110
86
111
```bash
@@ -115,46 +140,17 @@ to develop:
115
140
nix develop github:tkellogg/dura
116
141
```
117
142
118
-
### Cargo Install
119
-
1. Install Cargo
120
-
2. If you want run release version, type ```cargo install dura``` else type ```cargo install --git https://github.com/tkellogg/dura```
2. Clone this repository (e.g., `git clone https://github.com/tkellogg/dura.git`)
126
-
3. Navigate to repository base directory (`cd dura`)
127
-
4. Run `cargo install --path .`**Note:** If you receive a failure fetching the cargo dependencies try using the local [git client for cargo fetches](https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli). `CARGO_NET_GIT_FETCH_WITH_CLI=true cargo install --path .`
2. Clone this repository (e.g., `git clone https://github.com/tkellogg/dura.git`)
132
-
3. Navigate to repository base directory (`cd dura`)
133
-
4. Run `cargo install --path .`**Note:** If you receive a failure fetching the cargo dependencies try using the local [git client for cargo fetches](https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli). `CARGO_NET_GIT_FETCH_WITH_CLI=true cargo install --path .`
134
-
135
143
## FAQ
136
144
137
145
### Is this stable?
138
146
139
-
It's still in the prototype phase. Open issues pertaining to stability are marked with the
Yes. Lots of people have been using it since 2022-01-01 without issue. It uses [libgit2](https://libgit2.org/) to make the commits, so it's fairly battle hardened.
141
148
142
149
### How often does this check for changes?
143
150
144
151
Every now and then, like 5 seconds or so. Internally there's a control loop that sleeps 5 seconds between iterations, so it
145
152
runs less frequently than every 5 seconds (potentially a lot less frequently, if there's a lot of work to do).
146
153
147
-
### Does this work on my OS?
148
-
149
-
- Mac: yes
150
-
- Linux: probably
151
-
- Windows: yes
152
-
153
-
### Can I add sub commands and aliases?
154
-
155
-
Yes, any executable on the path named like `dura-{cmd}` will be executed
156
-
when `dura {cmd}` is called. For example, `dura foo` will try to find an
0 commit comments