Commit Graph

65 Commits

Author SHA1 Message Date
Casey Rodarmor
13a124d659
Refactor some other stuff (#252) 2017-11-17 17:28:06 -08:00
Casey Rodarmor
2b6b715528
Refactor Everything (#250) 2017-11-16 23:30:08 -08:00
Casey Rodarmor
0030878ad7 Create a short markdown readme for crates.io 2017-10-14 23:21:46 -07:00
Casey Rodarmor
7874e22d47 Bump version to 0.3.2 2017-10-14 23:21:46 -07:00
Casey Rodarmor
8fa91a4eb1 Hide recipes with names starting with an _ from --list and --sumamary (#229) 2017-10-06 23:48:07 -07:00
Casey Rodarmor
e22da124d4 Update dependencies (#225)
Thanks @chrisvittal for reporting!
2017-09-10 17:28:00 -07:00
Casey Rodarmor
58f545f240 🔥 Stop parsing flags after positional args (#219)
This allows things like the following to work as,
I hope, one would expect:

  commit +flags:
    git commit {{flags}}

  $ just commit -a

It is however a breaking change, so also bump version number to 0.3.0.
2017-08-18 14:21:18 -07:00
Casey Rodarmor
f284f75d32 v0.2.32 -> v0.2.33 2017-08-02 20:47:37 -07:00
Casey Rodarmor
d841e4c4bc Update dependencies (#212) 2017-08-02 20:45:57 -07:00
Casey Rodarmor
4320d1c699 Remove integration test debug spam (#206) 2017-06-03 22:46:07 -07:00
Casey Rodarmor
62a0d7de05 Bump version: 0.2.31 -> 0.2.32 2017-05-13 00:14:20 -04:00
Casey Rodarmor
2b59771c9d Bump version: 0.2.30 -> 0.2.31 2017-05-13 00:08:28 -04:00
Casey Rodarmor
acdd9c91d9 Include grammar, readme, and license in releases 2017-05-12 23:59:59 -04:00
Casey Rodarmor
9b8808af40 Bump version: 0.2.28 -> 0.2.29 2017-05-12 23:50:46 -04:00
Casey Rodarmor
1cb7be2351 Bump version: 0.2.27 -> 0.2.28 (#200) 2017-05-12 23:02:35 -04:00
Casey Rodarmor
839f314439 Make appveyor continuous integration tests pass (#196) 2017-05-12 22:03:43 -04:00
Casey Rodarmor
b84fa89d71 Remove debugging output (#195) 2017-05-07 23:27:52 -04:00
Casey Rodarmor
4a35c14024 Set up cross platform continuous integration on travis (#191)
Gets travis cross platform testing working.

Based on the templates from:

japaric/trust/commit/29b0e084ff2c40d1aa1b6a5d66ab81eca90439e1
2017-05-07 22:48:07 -04:00
Casey Rodarmor
9fce455851 Bump version: 0.2.26 -> 0.2.27 2017-04-23 17:02:13 -07:00
Casey Rodarmor
bb15310549 Unicode integration test fix for windows (#189)
Windows had trouble with a backtick, so simplify it
2017-04-23 16:36:38 -07:00
Casey Rodarmor
832cf7b357 Move output() and OutputError into brev (#187)
They're pretty generic and generally useful, so move them into brev on crates.io.
2017-04-23 15:37:17 -07:00
Casey Rodarmor
6a26c72131 Use libc::{EXIT_SUCCESS, EXIT_FAILURE} for status (#177) 2017-04-21 22:11:18 -07:00
Casey Rodarmor
d7bb94ab5b Update and adapt to latest versions of dependencies (#171)
- Unicode 9 defines emoji to be wide characters; before their
  width was ambiguous. unicode-width has picked this up, so the
  tests which expected emoji to be single-width have been updated.

- The ordering of the --quiet and --dry-run flags seems to be
  have flipped in a clap error message, which broke a test, which
  is unbroken by this commit
2017-04-20 21:38:44 -07:00
Casey Rodarmor
763f5798be Bump version: 0.2.25 -> 0.2.26 (#150) 2017-01-18 22:07:21 -08:00
Casey Rodarmor
2cb88cc06c Bump version to 0.2.25 (#142) 2016-12-30 00:25:32 -08:00
Casey Rodarmor
02a160d2e0 Bump version: 0.2.23 -> 0.2.24 (#140) 2016-12-30 00:22:02 -08:00
Casey Rodarmor
bf42b23be3 Bump version to v0.2.23 (#129) 2016-11-18 07:10:14 -08:00
Casey Rodarmor
1690da3e6b Bump version to v0.2.22 (#110) 2016-11-13 14:28:27 -08:00
Casey Rodarmor
0b950db17d Bump version to v0.2.21 (#103) 2016-11-13 00:04:27 -08:00
Casey Rodarmor
3d8d901968 Suggest alternatives to uknown recipes (#91)
Kind of silly, but why not. Will only suggest an alternative if edit
distance is less than 3. This could probably increase if the names are
longer.
2016-11-12 12:36:12 -08:00
Casey Rodarmor
1affac98a9 Bump version to 0.2.20 (#89) 2016-11-12 11:44:36 -08:00
Casey Rodarmor
981823cbab Bump version to 0.2.19 (#83) 2016-11-12 09:35:35 -08:00
Casey Rodarmor
976c4fd979 Bump version to 0.2.18 (#60)
Skipped 0.2.17 (which was published but yanked) because publish recipe was wrong
2016-11-11 19:28:37 -08:00
Casey Rodarmor
ac7634000e Fix error messages with wide character
Input may contain tabs and other characters whose byte widths do not
correspond to their display widths. This causes error context
underlining to be off when lines contain those characters

Fixed by properly accounting for the display width of characters, as
well as replacing tabs with spaces when printing error messages.
2016-11-11 17:32:35 -08:00
Casey Rodarmor
4d20ffeac4 Use colors in output
This is a pretty gross commit, since it also includes a lot of
unrelated refactoring, especially of how error messages are printed.

Also adds a lint recipe that prints lines over 100 characters

To test, I added a `--color=[auto|always|never]` option that defaults to
auto in normal use, but can be forced to `always` for testing. In `auto`
mode it defers to `atty` to figure out if the current stream is a
terminal and uses color if so.

Color printing is controlled by the `alternate` formatting flag.

When printing an error message, using `{:#}` will print it with colors
and `{}` will print it normally.
2016-11-11 17:32:35 -08:00
Casey Rodarmor
39a78c968f Bump version to 0.2.16 (#21) 2016-11-05 01:54:44 -07:00
Casey Rodarmor
dd16fe316b Bump version to v0.2.15 2016-11-02 22:06:52 -07:00
Casey Rodarmor
f9abb72887 New publish recipe, bump version to 0.2.14 to test. 2016-11-02 00:19:07 -07:00
Casey Rodarmor
3fb4fc8074 Bump version 2016-10-31 23:04:58 -07:00
Casey Rodarmor
91bad7e627 Update Cargo.lock 2016-10-30 22:53:15 -07:00
Casey Rodarmor
9e9b525369 Bump version to 0.2.11 and rename back to just 2016-10-30 18:12:59 -07:00
Casey Rodarmor
0b182002a4 Notes, bump version 2016-10-30 17:09:33 -07:00
Casey Rodarmor
38a47801a2 Update Cargo.lock 2016-10-30 16:41:03 -07:00
Casey Rodarmor
69f8e07a30 export variables done 2016-10-30 16:15:18 -07:00
Casey Rodarmor
3b9ff6fd52 Clippy lints 2016-10-30 13:17:08 -07:00
Casey Rodarmor
2bc7485801 Bump version to 0.2.7 2016-10-30 00:24:16 -07:00
Casey Rodarmor
b956ce2397 Bump version in lock file. Make sure repo is clean before publishing 2016-10-28 20:48:53 -07:00
Casey Rodarmor
b46cfd97ba Bump version to 0.2.5 2016-10-28 20:42:53 -07:00
Casey Rodarmor
a1722fe241 Add integration tests 2016-10-28 15:25:59 -07:00
Casey Rodarmor
44334ff093 Update Cargo.lock 2016-10-28 00:13:17 -07:00