Commit Graph

443 Commits

Author SHA1 Message Date
Casey Rodarmor
f0404d434c
Fix integration tests with dash (#338)
Integration tests run with bash, dash, and whatever's installed as `sh`, to ensure compatibility with a wide range of systems.

This commit changed the way that dash escapes special characters, which broke the integration tests:

https://git.kernel.org/pub/scm/utils/dash/dash.git/commit/?id=6900ff60ef7347a8c1445853a8f4689808e0976e

This commit modifies our tests to be compatible with dash before and after the changes, and should fix the Travis build.
2018-08-03 19:53:06 -07:00
Casey Rodarmor
e4ab3416f0
Fix instructions for install command (#330)
Target was incorrect for Linux.
2018-07-08 23:32:34 -07:00
Casey Rodarmor
506b2a6432
Provide prebuilt binary install command (#329) 2018-07-04 22:39:21 -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
Casey Rodarmor
5acc112a97
Bump version: 0.3.11 -> 0.3.12 (#324) 2018-06-19 16:21:32 -04:00
Joshua Warner
cf3fde442f Implement invocation_directory function (#312) 2018-06-19 13:13:21 -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
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
c0f8dfbc89
Remove unused recipes (#314) 2018-04-29 02:27:35 -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
68b343bc17
Make .env vars available in env_var functions (#310) 2018-03-17 09:17:41 -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
ec56336df7
Add example of running a command to top of readme (#307) 2018-03-05 13:12:50 -08:00
Casey Rodarmor
76ac5098e5
Add Companion Tools section to README (#305) 2018-02-28 19:21:57 -08:00
Casey Rodarmor
0e42d1435b
Bump version to 0.3.8 and update dependencies (#304) 2018-02-16 01:24:38 -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
1f4cf781e7
Mention kakoune syntax highlighting in readme (#299) 2018-02-03 19:52:49 -08:00
Casey Rodarmor
667f81d79d
Bump version: 0.3.6 -> 0.3.7 (#297) 2018-01-23 08:32:37 +01:00
Casey Rodarmor
5cbcf47038
Allow ! in comments (#296) 2018-01-23 08:17:14 +01:00
Casey Rodarmor
573cebd4ab
Fix readme formatting (#295) 2018-01-12 20:28:43 +01:00
Casey Rodarmor
337f8f882b
Bump version: 0.3.5 -> 0.3.6 (#293) 2018-01-05 11:11:10 +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
9fc3262bbb
Add variadic parameter with default argument example (#285) 2017-12-11 20:12:36 +01:00
Greg Weber
edbc1ae175 Revise installation methods (#284) 2017-12-11 19:53:42 +01:00
Steve Kellock
92ed21c079 📝 Link to VS Code Extension in readme (#281) 2017-12-04 20:21:03 +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
661342bb11
Update changelog (#278) 2017-12-02 15:16:52 +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
5f8e1eac7e
Only provide MinGW build on Windows (#274) 2017-11-30 22:04:08 +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
Casey Rodarmor
a88d785afe
Change license to CC0 (#270) 2017-11-30 18:05:21 +01:00
Casey Rodarmor
69e79b9390
Build x86_64-pc-windows-gnu target for releases (#267) 2017-11-30 17:47:34 +01:00
Igor Gnatenko
ce65a1582b Bump dependencies (#265) 2017-11-30 17:46:57 +01:00
Casey Rodarmor
659af49231
Clean up grammar (#268) 2017-11-30 17:44:06 +01:00
Casey Rodarmor
def1bda9ff
Miscellaneous cleanup (#261) 2017-11-19 23:16:55 -08: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