Commit Graph

10 Commits

Author SHA1 Message Date
Alexey Maslennikov
50aa18e2a6 Adding an option to fail upon unset env variables 2017-06-16 10:47:31 +02:00
Tyler Akins
0ca9970b58
Fixing multi-line partials 2017-04-21 09:37:16 -05:00
Tyler Akins
1c03949107 Enabling a "false is empty" style check.
This is based off of pull request #10 from @athieriot.
Thanks for the idea!  I've implemented it as a flag and an environment
variable that can be enabled.  I've also added another test to handle
the environment variable.
2016-07-27 09:56:33 -05:00
Tyler Akins
ea76dc468b Handling double-hyphens 2016-07-21 09:47:37 -05:00
Tyler Akins
b69406835f Split test into three 2016-07-21 09:34:36 -05:00
Alexandre-Silva
45475ec77e Add test for --source flag and pull request suggestions
Add a demo/sourcing.vars file to be used by the associated demo
script.

Modified mo argument parsing so that --help and --source=file do not need
to be the first arguments for mo. And can in fact appear after or in the
middle of filenames.
2016-07-21 15:16:46 +01:00
Tyler Akins
600f5c5725 Adding mechanism to test command-line variables 2016-07-21 07:06:39 -05:00
Tyler Akins
e623b16bb8 Allowing access to globals while in a loop
This used to make a name like DATA.0.STR.  Since bash doesn't like using
multi-dimensional arrays, we can shortcut things and just assume that
STR referes to the global variable here.

This closes issue #7
2015-08-27 09:43:10 -05:00
Tyler Akins
5aa22680f5 Adding better block detection
Pulled the block finding code into its own function to eliminate a
recursion problem.

Test failure count dropped because lambdas are supported and I just
needed to update the spec.  Pull request mustache/spec#86 aims to add
bash support.  Until then, the testing script will fall back to using
perl.

34 failing tests
2015-01-26 12:51:28 -06:00
Tyler Akins
1151ec0a9e Initial commit 2015-01-23 17:43:08 +00:00