Commit Graph

103 Commits

Author SHA1 Message Date
Félix Saparelli e939f97c90
Move config creation out of arg parsing, and start on using libv2 2021-08-24 20:23:37 +12:00
Félix Saparelli b2effda341
Update to miette 1.0 beta 2021-08-23 02:37:13 +12:00
Félix Saparelli 3066ee5913
Implement most of process handling 2021-08-23 00:28:20 +12:00
Félix Saparelli 350b85e0c7
Allow an outcome to be determined by the action handler without &mut! 2021-08-22 18:56:57 +12:00
Félix Saparelli 9f34492c79
Upgrade to notify pre.12 2021-08-20 02:59:39 +12:00
Félix Saparelli 6a46c2bff3
Refactor watchexec to only have &self methods and default to wrap it in Arc 2021-08-20 02:55:34 +12:00
Félix Saparelli 249c581dc9
Make channel buffers configurable 2021-08-19 21:28:56 +12:00
Félix Saparelli 0bb38f40a5
Start off on main interface 2021-08-19 01:12:50 +12:00
Félix Saparelli cae00070fb
Remove chrono dep 2021-08-18 18:54:05 +12:00
Félix Saparelli f5e19a6e5f
Adapt Shell command builder 2021-08-17 03:09:22 +12:00
Félix Saparelli 7053360187
Clarify fs worker usage 2021-08-17 01:37:01 +12:00
Félix Saparelli 822148da03
Canonicalise paths + add example 2021-08-17 01:15:17 +12:00
Félix Saparelli b15615bbaa
Start on watchexec v2 2021-08-16 21:49:12 +12:00
Félix Saparelli e21a3a99f6 cli: v1.17.1 2021-07-31 06:37:29 +12:00
Félix Saparelli d54d74854e
Add experimental --notify option
See #139
2021-07-31 05:11:42 +12:00
Félix Saparelli bc07ad486d cli: v1.17.0 2021-07-22 03:25:51 +12:00
Félix Saparelli bd96803d1e lib: v1.17.1 2021-07-22 01:36:33 +12:00
Félix Saparelli bf922e36ac lib: v1.17.0 2021-07-22 01:15:46 +12:00
Félix Saparelli 146d49ee8e
Update deps 2021-07-21 23:57:31 +12:00
Félix Saparelli 9c20c8c8b5 Replace process code with command-group 2021-07-21 20:22:40 +12:00
Félix Saparelli 54ac2e9ae0
Use color-eyre for application errors rather than the library's error type 2021-07-17 01:33:04 +12:00
Félix Saparelli 0c25ea0269 cli: v1.16.2 2021-07-10 20:08:45 +12:00
Félix Saparelli 8368846444 Update deps 2021-07-10 20:07:59 +12:00
Félix Saparelli 7b16a226b2 lib: v1.16.1 2021-07-10 20:04:31 +12:00
Félix Saparelli 960bbbabbc cli: v1.16.1 2021-05-22 20:05:57 +12:00
Félix Saparelli 695c2e0f1a Update lockfile 2021-05-22 20:00:06 +12:00
Félix Saparelli f0862b9f1e Update to clearscreen 1.0.4 for bugfix 2021-05-22 19:59:32 +12:00
Félix Saparelli 0d2f28c91a
Add test for cli help 2021-05-10 23:02:31 +12:00
Félix Saparelli ad9f51a24b lib: v1.16.0 2021-05-09 03:46:23 +12:00
Félix Saparelli 6a0ac73547 cli: v1.16.0 2021-05-09 02:21:07 +12:00
Félix Saparelli d23261673b
Update clearscreen 2021-05-08 18:43:12 +12:00
Félix Saparelli 1f3f4ada35 Split into two crates: lib and cli
That has a number of advantages:

- #193 the build.rs is only run for the CLI, so the Windows manifest is
  not embedded in the library anymore, opening it up for downstreams.

- it sets the stage for decoupling the version numbers of the CLI and
  library, to have the library increase its major more often, while the
  CLI retains compatibility further… that is, to have both follow semver

- it removes the CLI-only dependencies from the library

- it makes compilation a bit faster as compiling the library and the
  CLI's other dependencies can happen in parallel

One major disadvantage:

- installing via cargo changes from watchexec to watchexec-cli. Most
  installs are from prebuilt and from packages, but that's still a
  potential stumble.

And of course, the CLI APIs in the library are gone (they were already
deprecated, though).

We also take this opportunity to get rid of the clear_screen code and
use our new clearscreen library. #99 #171 #185
2021-05-01 03:27:17 +12:00
Félix Saparelli 74934f304f 1.15.3 2021-05-01 00:27:44 +12:00
Félix Saparelli 12184136f7 1.15.2 2021-04-27 02:04:52 +12:00
Félix Saparelli 8decbd63f6 Update lockfile 2021-04-27 00:10:21 +12:00
Félix Saparelli 2603f13fc7 1.15.1 2021-04-17 12:48:21 +12:00
Félix Saparelli 81b3340f6c
Update lockfile to latest notify patch release 2021-04-17 02:05:04 +12:00
Félix Saparelli 940f4b98d0 Update lockfile 2021-04-11 06:09:48 +12:00
Félix Saparelli 579e53678e 1.15.0 2021-04-11 05:58:32 +12:00
Félix Saparelli 6b1ba7aad7
Update dependencies 2021-04-11 05:51:33 +12:00
Félix Saparelli c8619e34e0 1.14.1 2020-09-30 17:16:54 +13:00
Félix Saparelli 838103fcf2 Embed long paths manifest on windows (#163) 2020-09-30 17:06:41 +13:00
Félix Saparelli 502081203a 1.14.0 2020-07-04 00:57:29 +12:00
Félix Saparelli 2926e956ad Wump winapi to .9 2020-07-04 00:51:51 +12:00
Félix Saparelli b9473c6c86 1.13.1 2020-06-06 15:21:08 +12:00
Félix Saparelli 80bbea7d21 1.13.0 2020-06-04 19:39:07 +12:00
Félix Saparelli 6a3af92d25 Update deps 2020-06-04 19:38:49 +12:00
Chris Nicholls 0175e071e1 Include .gitignores in subdirectories 2020-03-06 10:28:29 +00:00
Félix Saparelli 97232cfd09
1.12.0 2019-11-19 19:06:43 +13:00
Félix Saparelli 211bb681f5
1.11.1 2019-10-28 22:32:55 +13:00