Casey Rodarmor
c3d1d9049f
Bump version: 0.3.13 -> 0.4.0 ( #401 )
2019-04-12 00:46:29 -07:00
Casey Rodarmor
fe0a6c252c
Allow arbitrary expressions as default arguments ( #400 )
2019-04-11 23:58:08 -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
e118051a5c
Omit aliases that begin with _
from --list` ( #398 )
2019-04-11 15:57:34 -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
37639d68d7
Allow shebang lines so justfiles can be used as scripts ( #393 )
2019-04-08 14:28:17 -07:00
Casey Rodarmor
cee9ac21e0
Allow --justfile
without --working-directory
( #392 )
2019-04-08 00:54:05 -07:00
Casey Rodarmor
3d67786aaf
Förmatterdämmerung ( #346 )
...
Format with rustfmt
2018-12-08 14:29:41 -08:00
Casey Rodarmor
849cdcb37f
Bump version: 0.3.12 -> 0.3.13 ( #371 )
2018-11-06 00:41:33 -08:00
ladysamantha
af97f3f1c1
Print recipe signature if missing arguments ( #369 )
2018-11-03 14:51:06 -07:00
Casey Rodarmor
6430d38a6a
Fail fuzzing on internal errors ( #366 )
2018-10-13 21:38:44 +08:00
Geoff Shannon
6b0fc174d8
Fuzz test compiler ( #362 )
2018-10-13 19:12:35 +09:00
Casey Rodarmor
bcfd47dcbf
Use PutBackN instead of PutBack in parser ( #364 )
...
The parser could be confused into calling `PutBack::put_back` twice in a row, and thus dropping tokens. This commit switches to `PutBackN`, which allows any number of put backs in a row.
2018-10-13 18:39:26 +09:00
Casey Rodarmor
ad0d37a173
Remove trailing whitespace in parser tests ( #350 )
2018-09-03 14:48:15 -07:00
Casey Rodarmor
816183b975
Add grandiloquent verbosity level that echos shebang recipes ( #348 )
2018-08-31 00:04:06 -07:00
Casey Rodarmor
4e6585d391
Slake Clippy's thirst for blood ( #347 )
2018-08-27 18:36:40 -07: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
438b5147fe
Improve invalid escape sequence error messages ( #328 )
...
The invalid escape sequence error message is delimited with backticks
and isn't used as input to other programs. This diff tweaks the escaping rules
slightly when printing invalid escape sequences. In particular, `, \, ',
and " are now not be escaped.
2018-06-30 22:19:13 -04:00
Joshua Warner
cf3fde442f
Implement invocation_directory function ( #312 )
2018-06-19 13:13:21 -04:00
Casey Rodarmor
886220d4cc
Always enable ansi support on windows ( #317 )
2018-05-06 22:02:17 -04:00
Casey Rodarmor
a3294822c3
Get package name from Cargo.toml ( #315 )
2018-05-01 17:01:59 -04:00
Casey Rodarmor
68b343bc17
Make .env vars available in env_var functions ( #310 )
2018-03-17 09:17:41 -07:00
Casey Rodarmor
70234f6193
Add dotenv integration ( #306 )
2018-03-05 13:21:35 -08:00
Gaeulbyul
9eac537a01
Enable ANSI support for Windows 10 Console
...
On Windows 10, console applications must activate ANSI support in order for colors to be supported.
2018-02-16 00:52:00 -08:00
Casey Rodarmor
b7a126742f
Use .adoc
for asciidoctor files instead of .asc
( #300 )
2018-02-03 20:27:07 -08:00
Casey Rodarmor
5cbcf47038
Allow ! in comments ( #296 )
2018-01-23 08:17:14 +01:00
Casey Rodarmor
1d0aa178f7
Lex CRLF line endings properly ( #292 )
2018-01-05 11:03:58 +01:00
Casey Rodarmor
26098ba609
Bump version: 0.3.4 -> 0.3.5 ( #286 )
2017-12-11 21:44:45 +01:00
Casey Rodarmor
79c0994387
Add env_var(key)
and env_var_or_default(key, default)
functions ( #280 )
...
`env_var(key)` looks up the value of the environment variable with name `key`, aborting execution if it is not found.
`env_var_or_default(key, default)` looks up the value of the environment variable with name `key`, returning `default` if it is not found.
2017-12-02 23:59:07 +01:00
Casey Rodarmor
9a56e27e18
Make EOL after interpolation a proper error ( #279 )
2017-12-02 21:49:31 +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
66391de3f8
Rename Scanner to Lexer ( #276 )
2017-12-01 11:22:32 +01:00
Casey Rodarmor
c5eeb8944e
Align doc-comments in --list
output ( #273 )
2017-12-01 00:03:59 +01:00
Casey Rodarmor
861173581c
Refactor Tokenizer ( #260 )
2017-11-18 03:36:02 -08:00
Casey Rodarmor
afe2c0f94e
Refactor more tests into macro invocations ( #259 )
2017-11-18 01:44:59 -08:00
Casey Rodarmor
28a57d9828
Refactor evaluators and resolvers into common form ( #258 )
2017-11-18 01:18:04 -08:00
Casey Rodarmor
bc79d16eac
Convert parser tests to macros ( #257 )
2017-11-17 23:59:55 -08:00
Casey Rodarmor
87b2130db0
Use imperative mood in help strings ( #256 )
2017-11-17 23:59:36 -08:00
Casey Rodarmor
c84a86dd2b
Use uppercase names for arguments ( #255 )
2017-11-17 23:23:24 -08:00
Casey Rodarmor
7166fa9e6f
Rename options
to configuration
( #254 )
2017-11-17 23:23:02 -08:00
Travis snɯǝᗡɔW
acb5d6f98b
Do not evaluate backticks in assignments during dry runs ( #253 )
2017-11-17 20:21:37 -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
86dc82f548
Give errors clearer names ( #249 )
2017-11-16 13:26:01 -08:00
Casey Rodarmor
3acd56646f
Stop empty comments from swallowing the next line ( #247 )
2017-11-15 12:53:01 -08:00
Casey Rodarmor
b9e1f73919
Make unexpected token formatting clearer ( #243 )
...
Symbols are now be surrounded by single quotes, to set them off more
clearly.
2017-11-14 13:03:26 -08:00
Casey Rodarmor
6e3b43ac9e
Overhaul README ( #231 )
...
- Switch to asciidoc, since it supports an auto-generated table of contents
- Re-organize into sections
- Document private recipes
- Document windows dependencies
- Document doc comments
2017-10-12 16:12:23 -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
Christopher Vittal
a07fc226c1
Add short options for justfile and working-directory ( #222 )
...
Adds -f and -d as short options for --justfile and --working-directory
respectively.
Thanks @chrisvittal!
2017-09-11 00:58:35 -07:00