Commit Graph

7 Commits

Author SHA1 Message Date
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