Casey Rodarmor
981465ad30
Release v0.7.1 ( #662 )
...
- Bump version: 0.7.0 → 0.7.1
- Update changelog
- Update man page
- Update config test
2020-07-19 05:10:38 -07:00
Casey Rodarmor
c1a0001939
Release v0.7.0 ( #657 )
...
- Bump version: 0.6.1 → 0.7.0
- Update dependencies
- Update changelog
- Update man page
- Update config test
2020-07-16 21:58:49 -07:00
Casey Rodarmor
7384307fdc
Release v0.6.1 ( #653 )
...
- Bump version: 0.6.0 → 0.6.1
- Update dependencies
- Update changelog
- Update man page
- Update config test
2020-06-28 15:07:03 -07:00
Casey Rodarmor
863fb53885
Release v0.6.0 ( #649 )
...
- Bump version: 0.5.11 -> 0.6.0
- Update dependencies
- Update changelog
- Update man page
- Update config test
2020-06-18 11:50:47 -07:00
Casey Rodarmor
2e6e48d8f4
Release v0.5.11 ( #629 )
...
- Bump version: `0.5.10` -> `0.5.11`
- Update changelog
- Update dependencies
- Update man page
- Update config test
- Publish to cargo last in release recipe
2020-05-23 20:59:11 -07:00
Casey Rodarmor
985a6a833d
Release v0.5.10 ( #613 )
...
- Bump version: `0.5.9` -> `0.5.10`
- Update changelog
- Update dependencies
- Update man page
- Update config test
- Fix publish and check recipes
2020-03-18 09:03:21 -07:00
Casey Rodarmor
8fea09a3dd
Release v0.5.9 ( #612 )
...
- Bump version number: `0.5.8` -> `0.5.9`
- Update changelog
- Update dependencies
- Update config test
- Add `pr` and `push` to justfile
2020-03-18 08:19:43 -07:00
Casey Rodarmor
1dbc765390
Add --variables
subcommand that prints variable names ( #608 )
...
Add a subcommand that prints out a space-separated list of the names of
top-level variables in the justfile.
The syntax is:
$ just --variables
a b c
This can be used for any purpose, but is mostly intended for completion
scripts, so that they can get the names of variables without using
`--evaluate`.
Additionally:
- Add `bin/generate-completions` script to regenerate checked-in
completions
- Update dependencies
- Regenerate checked-in completions
2020-03-13 22:19:43 -07:00
Casey Rodarmor
aceee3e217
Release v0.5.7 ( #591 )
...
- Bump version: v0.5.7 -> v0.5.8
- Update changelog
- Update man page
- Update config test
- Update dependencies
2020-02-06 12:25:09 -08:00
Casey Rodarmor
88f4ee760a
Remove unused dependencies ( #587 )
...
- Remove intertools
- Remove assert_matches
2020-01-30 08:20:08 -08:00
Casey Rodarmor
1d084f1d4e
Release v0.5.7 ( #584 )
...
- Bump version: 0.5.6 -> 0.5.7
- Update change log
- Update man page
- Update config test
2020-01-28 03:03:07 -08:00
Casey Rodarmor
f3d5d124a4
Release v0.5.6 ( #582 )
...
- Bump version: 0.5.5 -> 0.5.6
- Update change log
- Update man page
- Update config test
2020-01-28 02:31:38 -08:00
Casey Rodarmor
56496e14bf
Release v0.5.5 ( #576 )
...
- Bump version: 0.5.4 -> 0.5.5
- Update changelog
- Update man page
- Update config test
2020-01-15 03:33:49 -08:00
Casey Rodarmor
e14447030a
Release v0.5.4 ( #570 )
...
- Bump version: 0.5.3 -> 0.5.4
- Update changelog
- Update man page
- Update config test
2019-12-25 07:46:54 -08:00
Casey Rodarmor
66121d478b
Update Cargo.lock with new version ( #564 )
2019-12-11 17:40:57 -08:00
Casey Rodarmor
20790a0cc7
Release v0.5.2 ( #557 )
...
- Bump version: v0.5.1 -> v0.5.2
- Update changelog
- Update dependencies
2019-12-07 04:59:58 -08:00
Casey Rodarmor
d2decbfdb8
Resolve functions ( #550 )
...
Modifies parsing to return strongly-typed `Thunk`s, which contain both
the function implementation, as well as the correct number of arguments.
This moves unknown function and function argument count mismatch errors
to parse time.
2019-11-21 12:14:10 -06:00
Casey Rodarmor
e5232fda89
Release v0.5.1 ( #544 )
...
- Bump version: v0.5.0 -> v0.5.1
- Update changelog
2019-11-20 02:08:58 -06:00
Casey Rodarmor
c40d16f2a2
Release: v0.5.0 ( #530 )
...
- Bump version: v0.4.5 -> v0.5.0
- Update dependencies
- Update changelog
- Appease linter
- Appease clippy
2019-11-12 14:11:53 -08:00
Casey Rodarmor
aefdcea7d0
Gargantuan refactor ( #522 )
...
- Instead of changing the current directory with `env::set_current_dir`
to be implicitly inherited by subprocesses, we now use
`Command::current_dir` to set it explicitly. This feels much better,
since we aren't dependent on the implicit state of the process's
current directory.
- Subcommand execution is much improved.
- Added a ton of tests for config parsing, config execution, working
dir, and search dir.
- Error messages are improved. Many more will be colored.
- The Config is now onwed, instead of borrowing from the arguments and
the `clap::ArgMatches` object. This is a huge ergonomic improvement,
especially in tests, and I don't think anyone will notice.
- `--edit` now uses `$VISUAL`, `$EDITOR`, or `vim`, in that order,
matching git, which I think is what most people will expect.
- Added a cute `tmptree!{}` macro, for creating temporary directories
populated with directories and files for tests.
- Admitted that grammer is LL(k) and I don't know what `k` is.
2019-11-09 21:43:20 -08:00
Casey Rodarmor
f3b8030070
Bump version: v0.4.4 -> v0.4.5 ( #505 )
2019-10-31 19:19:01 -07:00
Casey Rodarmor
c26c0e4ecc
Update dependencies ( #501 )
...
- dotenv: 0.13 -> 0.15 (picks up the new parser)
- ansi-term: 0.11 -> 0.12
- env_logger: 0.6 -> 0.7
2019-10-22 19:51:50 -07:00
Casey Rodarmor
49ab423592
Refactor lexer tests ( #498 )
...
- Refactor the lexer tests to be more readable, abandoning the
previous string-based summary DSL in favor of a more obvious
sequence of `TokenKinds` with optional lexemes. The new tests
also test that token lexemes are correct.
- Move duplicated `unindent` function into a shared crate,
`test-utilities`. This new versionless dev-dependency will
prevent publishing to crates.io, at least until rust-lang/cargo/pull/7333
makes it into stable. If we publish a new version before then,
test-utilities will need to be published to crates.io, so we can depend
on it by version.
2019-10-17 20:04:54 -07:00
Casey Rodarmor
74e45e7c05
Remove dependency on brev ( #462 )
...
Just's dependency on brev was the cause of a
fairly deep branch of the transitive dependency
tree. To decrease build time and make the life of
packagers easier, this diff moves the functionality
that Just was using in Brev into Just itself, and
removes the dependency on Brev.
Fortunately, the only functionality that Just was
using was the output function and OutputError
enum, so this was easily done.
2019-07-13 01:55:06 -07:00
Niklas Claesson
ff91e3d7c6
Use tempfile
crate instead of tempdir
( #455 )
2019-07-06 20:55:46 -07:00
Casey Rodarmor
23443e2472
Bump version: v0.4.3 -> v0.4.4 ( #449 )
2019-06-02 13:38:16 -07:00
Casey Rodarmor
22e96447b4
Replace colored_diff with pretty_assertions ( #440 )
2019-05-15 14:38:36 -04:00
Casey Rodarmor
ea2afb627b
Bump version: v0.4.2 -> v0.4.3 ( #431 )
...
- Bump version from v0.4.2 to v0.4.3
- Update dependencies
- Make change log more readable
2019-05-07 19:37:40 -07:00
Casey Rodarmor
415c84ea39
Refactor and rename test macros ( #415 )
2019-04-19 02:17:43 -07:00
Casey Rodarmor
85336f09b0
Bump version: v0.4.1 -> v0.4.2 ( #407 )
2019-04-15 23:39:18 -07:00
Casey Rodarmor
596ea34460
Replace regex-based lexer with character-at-a-time lexer ( #406 )
2019-04-15 22:40:02 -07:00
Casey Rodarmor
e615ea0389
Bump version: v0.4.0 -> v0.4.1 ( #405 )
2019-04-15 14:45:40 -07:00
Casey Rodarmor
c3d1d9049f
Bump version: 0.3.13 -> 0.4.0 ( #401 )
2019-04-12 00:46:29 -07:00
Casey Rodarmor
12f9428695
Add justfile summaries ( #399 )
...
Exposes an interface for producing a summary that captures the important details of the parsed justfile.
2019-04-11 16:35:16 -07:00
Casey Rodarmor
3a287b864a
Housekeeping ( #394 )
...
- Upgrade to rust 2018
- Update dependencies
- Use BTree{Map,Set} instead of Map and Set
2019-04-11 15:23:14 -07:00
ryloric
f64f07a0cc
Add recipe aliases ( #390 )
...
Recipe aliases may be defined with `alias f = foo`, allowing recipes to be called by shorter names on the command line.
2019-04-11 12:30:29 -07:00
Casey Rodarmor
849cdcb37f
Bump version: 0.3.12 -> 0.3.13 ( #371 )
2018-11-06 00:41:33 -08:00
Casey Rodarmor
b14d1ec97c
Wait for child processes to finish ( #345 )
...
Thanks to @bheisler for the feature request and initial implementation.
Fixes #302
2018-08-27 16:03:52 -07:00
Casey Rodarmor
5acc112a97
Bump version: 0.3.11 -> 0.3.12 ( #324 )
2018-06-19 16:21:32 -04:00
Casey Rodarmor
ee7302c0e3
Bump version: 0.3.10 -> 0.3.11 ( #318 )
2018-05-06 22:20:48 -04:00
Casey Rodarmor
2f8e89228a
Bump dependencies ( #316 )
2018-05-06 22:15:15 -04:00
Casey Rodarmor
ef45b02cc3
Version bump + update deps: 0.3.9 -> 0.3.10 ( #311 )
2018-03-20 01:25:32 -07:00
Casey Rodarmor
70e96d52eb
Bump version: 0.3.8 -> 0.3.9 ( #308 )
2018-03-05 13:28:30 -08:00
Casey Rodarmor
70234f6193
Add dotenv integration ( #306 )
2018-03-05 13:21:35 -08:00
Casey Rodarmor
0e42d1435b
Bump version to 0.3.8 and update dependencies ( #304 )
2018-02-16 01:24:38 -08:00
Casey Rodarmor
667f81d79d
Bump version: 0.3.6 -> 0.3.7 ( #297 )
2018-01-23 08:32:37 +01:00
Casey Rodarmor
337f8f882b
Bump version: 0.3.5 -> 0.3.6 ( #293 )
2018-01-05 11:11:10 +01:00
Casey Rodarmor
26098ba609
Bump version: 0.3.4 -> 0.3.5 ( #286 )
2017-12-11 21:44:45 +01:00
Casey Rodarmor
afa4aebd4a
Add functions ( #277 )
...
– Parse unary (no-argument) functions
– Add functions for detecting the current os, arch, and os family, according to rustc's cfg attributes
2017-12-02 14:37:10 +01:00
Casey Rodarmor
19a559c868
Misc fixes before publishing new version ( #271 )
2017-11-30 19:38:44 +01:00
Casey Rodarmor
88afe90630
Bump version: 0.3.3 -> 0.3.4 ( #269 )
2017-11-30 18:13:13 +01:00
Igor Gnatenko
ce65a1582b
Bump dependencies ( #265 )
2017-11-30 17:46:57 +01:00
Casey Rodarmor
afe2c0f94e
Refactor more tests into macro invocations ( #259 )
2017-11-18 01:44:59 -08:00
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
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
6e687c506e
Update cargo.lock.
2016-10-23 17:17:36 -07:00
Casey Rodarmor
913bcba5f7
Starting to rewrite the parser
2016-10-22 23:18:26 -07:00
Casey Rodarmor
fbe8c07d43
Update Cargo.lock
2016-10-08 20:20:26 -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
68029874c7
Update cargo.lock
2016-09-28 00:02:59 -07:00
Casey Rodarmor
9f9346b338
Version bump in cargo.lock
2016-09-27 23:56:47 -07:00
Casey Rodarmor
0f74d2e4fa
Update cargo.log
2016-09-27 23:25:54 -07:00
Casey Rodarmor
3b78451f23
Update stuff
2016-09-27 22:57:30 -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