Commit Graph

497 Commits

Author SHA1 Message Date
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 898f83e29c
Add experimental builds for WinARM 2021-05-01 02:26:33 +12:00
Félix Saparelli 5da59b122d
Finish apple m1 prep config 2021-05-01 02:25:10 +12:00
Félix Saparelli 74934f304f 1.15.3 2021-05-01 00:27:44 +12:00
Félix Saparelli db5b662581
Vom
Fixes #192 again
2021-04-30 14:19:19 +12:00
Félix Saparelli 74cec51700
Disable activeCodePage again
Fixes #192
2021-04-30 13:53:25 +12:00
Félix Saparelli 6e2835b8aa
Fix #191: timing suffix is now provided by Duration's Debug impl, so remove it from the message 2021-04-28 14:12:16 +12:00
Félix Saparelli 12184136f7 1.15.2 2021-04-27 02:04:52 +12:00
Félix Saparelli bed43d9e4c
Add compatiblity entries again 2021-04-27 01:59:44 +12:00
Félix Saparelli 97207710cd
Attempt to fix format of metadata section 2021-04-27 01:49:39 +12:00
Félix Saparelli 1fab379cbd
Add back metadata 2021-04-27 01:39:17 +12:00
Félix Saparelli 0db6c97f2d
Add heapType again 2021-04-27 01:33:41 +12:00
Félix Saparelli f30e2fc49e
Add activeCodePage again 2021-04-27 01:28:34 +12:00
Félix Saparelli 73ac954a40
Update ws ns to 2020 2021-04-27 01:23:51 +12:00
Félix Saparelli 1a8d1cb142
Back to only longPath, but in new format? 2021-04-27 01:12:09 +12:00
Félix Saparelli fe4410640d
Only do the manifest settings? 2021-04-27 01:06:37 +12:00
Félix Saparelli 226ef97ad9
Also opt-in to the UTF-8 codepage 2021-04-27 00:53:42 +12:00
Félix Saparelli 150c474b9c
Opt into SegmentHeap to maybe reduce memory use on Windows 2021-04-27 00:34:15 +12:00
Félix Saparelli fa081d97bb
Augment the windows manifest with metadata and OS version compatibility 2021-04-27 00:29:04 +12:00
Félix Saparelli 8decbd63f6 Update lockfile 2021-04-27 00:10:21 +12:00
Félix Saparelli 1b889b3063
Limit version up script to the first version ie ours 2021-04-27 00:09:11 +12:00
Félix Saparelli 34989e6fc2
Add logo 2021-04-26 23:59:43 +12:00
Félix Saparelli a510ecd936 Enable experimental Apple M1 cross builds and downgrade i686 musl to experimental 2021-04-21 10:03:24 +12:00
Félix Saparelli cdcb4e2af4 Show multi command and --shell uses 2021-04-19 09:42:27 +12:00
Félix Saparelli 2603f13fc7 1.15.1 2021-04-17 12:48:21 +12:00
Félix Saparelli 25f02c5777
Add test for Shell::Unix with shopts 2021-04-17 02:19:59 +12:00
Félix Saparelli 1c338adb9d
Generate html manpage with toc style 2021-04-17 02:11:16 +12:00
Félix Saparelli 81b3340f6c
Update lockfile to latest notify patch release 2021-04-17 02:05:04 +12:00
Félix Saparelli 0e26934bbd
Add manpage in HTML format to release packages 2021-04-17 02:04:43 +12:00
Félix Saparelli 591b4a11c2 Remove obsolete brew formula 2021-04-17 02:01:26 +12:00
Félix Saparelli 749bf89b6c Document the argument processing in the manpage
Fixes #82
2021-04-17 02:01:26 +12:00
Félix Saparelli f1c7b555e1 Document the --shell semantics in the manpage 2021-04-17 02:01:26 +12:00
Félix Saparelli 6635635a9c Fix #181 by splitting shell program in Shell::Unix() by ascii space to handle additional args 2021-04-17 02:01:26 +12:00
Félix Saparelli 1b44e7aa87 Extract Shell handling into one method common to both windows and unix 2021-04-17 02:01:26 +12:00
Félix Saparelli a2078e3703 Document the semantics of the Shell variants 2021-04-17 02:01:26 +12:00
Félix Saparelli 3c26e3987c
Merge pull request #189 from mwu-tow/git-root-lookup
Fix lookup of the root git directory
2021-04-13 02:10:32 +12:00
Michał W. Urbańczyk 10429777ce Fixed lookup of the root git directory. 2021-04-12 13:32:57 +02:00
Félix Saparelli 940f4b98d0 Update lockfile 2021-04-11 06:09:48 +12:00
Félix Saparelli 139b6b43c7
Drop debounce to 150ms (#168) 2021-04-11 06:05:28 +12:00
Félix Saparelli 03aad1caaa
Don't run checks on tags 2021-04-11 05:59:42 +12:00
Félix Saparelli 579e53678e 1.15.0 2021-04-11 05:58:32 +12:00
Félix Saparelli d124fdb587
Adjust bin/version to deal with this project's Cargo.toml 2021-04-11 05:53:04 +12:00
Félix Saparelli 6b1ba7aad7
Update dependencies 2021-04-11 05:51:33 +12:00
Félix Saparelli 05e66784ce
Apply clippy recommendations 2021-04-11 05:44:24 +12:00
Félix Saparelli 6ec02d38ab Regenerate manpage 2021-04-11 05:36:43 +12:00
Félix Saparelli b5f56e831d
Formatting 2021-04-11 05:33:30 +12:00
Félix Saparelli f4637892ab
Fix --shell option 2021-04-11 05:29:55 +12:00
Félix Saparelli b0d2a6c875
Bump MSRV to 1.43 2021-04-11 05:17:11 +12:00
Félix Saparelli 15cdd7c754
Use Durations for durations in Config 2021-04-11 05:13:44 +12:00
Félix Saparelli 75ef0095ff
Cosmetic fixes to help 2021-04-11 05:06:32 +12:00