Commit graph

44 commits

Author SHA1 Message Date
Casey Rodarmor 1690da3e6b Bump version to v0.2.22 (#110) 2016-11-13 14:28:27 -08:00
Casey Rodarmor 9d9aaa91b1 Explicitly license as WTFPL or MIT or APACHE-2.0 (#105) 2016-11-13 00:45:32 -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 5b3ef9f11a Format Cargo.toml (#33) 2016-11-07 22:06:33 -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 0127986bce Update description 2016-10-30 22:55:03 -07:00
Casey Rodarmor e354ca0a8e Bump version update description 2016-10-30 22:52:03 -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 843662c285 Notes + bump version 2016-10-30 16:40:45 -07:00
Casey Rodarmor 69f8e07a30 export variables done 2016-10-30 16:15:18 -07:00
Casey Rodarmor cc683cbb04 Bump version, add --debug 2016-10-30 13:14:39 -07:00
Casey Rodarmor 2bc7485801 Bump version to 0.2.7 2016-10-30 00:24:16 -07:00
Casey Rodarmor 011876baff Bump version to 0.2.6, build before publishing 2016-10-28 20:45:05 -07:00
Casey Rodarmor b46cfd97ba Bump version to 0.2.5 2016-10-28 20:42:53 -07:00
Casey Rodarmor 383754d2fb More tests 2016-10-28 19:38:32 -07:00
Casey Rodarmor a1722fe241 Add integration tests 2016-10-28 15:25:59 -07:00
Casey Rodarmor ec41eaf0e7 Bump version, use variable for quine text 2016-10-28 00:10:19 -07:00
Casey Rodarmor 0a16803247 Clippy fixes, bump version 0.2.3, string escapes 2016-10-28 00:06:36 -07:00
Casey Rodarmor 8d8f38b3d8 bump: 0.2.1 -> 0.2.2 2016-10-23 19:57:46 -07:00
Casey Rodarmor 756a74bc18 version bump: 0.2.0 -> 0.2.1 2016-10-23 17:15:18 -07:00
Casey Rodarmor 913bcba5f7 Starting to rewrite the parser 2016-10-22 23:18:26 -07:00
Casey Rodarmor 61b7111574 Bump version to 0.2.0 2016-10-08 17:55:48 -07:00
Casey Rodarmor c957165f4c Actually run recipes, add a bunch of tests 2016-10-08 17:29:45 -07:00
Casey Rodarmor 0c29b55df6 Split into lib.rs and main.rs, wrote a bunch of tests 2016-10-02 22:30:28 -07:00
Casey Rodarmor 2d8e3d9abe Basic parsing and circular dependency detection working 2016-09-30 23:48:23 -07:00
Casey Rodarmor dd83cc46bf Add period to no justfile found error. Bump version. 2016-09-28 13:20:49 -07:00
Casey Rodarmor 0f245031ba 0.1.3 -> 0.1.4 2016-09-28 00:02:44 -07:00
Casey Rodarmor 9665d31180 v0.1.2 -> v0.1.3 2016-09-27 23:26:09 -07:00
Casey Rodarmor 696fd3a5f1 Remove dependency on brev, bump version 2016-09-27 23:13:17 -07:00
Casey Rodarmor 3b78451f23 Update stuff 2016-09-27 22:57:30 -07:00
Casey Rodarmor b0d72f319f Fix cargo.toml.license 2016-09-27 22:54:22 -07:00
Casey Rodarmor 9dddb3d458 Update cargo.toml, version -> 0.1.1 2016-09-27 22:53:33 -07:00
Casey Rodarmor 114f6b7bdc Working 2016-09-27 22:49:17 -07:00
Casey Rodarmor a0d5b83a80 Initial commit. Broken. 2016-06-16 17:13:43 -07:00