Commit graph

7 commits

Author SHA1 Message Date
Félix Saparelli
149b9b9821
Split the versioning of the lib and cli (in theory) 2021-05-01 04:22:33 +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
97207710cd
Attempt to fix format of metadata section 2021-04-27 01:49:39 +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
1b889b3063
Limit version up script to the first version ie ours 2021-04-27 00:09:11 +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
3a3ae89046 Add version script 2021-04-10 22:44:11 +12:00