Tyler Akins
ab5dfee519
Fixing install directions
2017-10-24 07:47:50 -05:00
Tyler Akins
81fd601ebd
Shortening URL
2017-10-23 15:11:23 -05:00
Tyler Akins
9896712932
Releasing 1.0.0
...
This is the first tagged release of "mo", following the semantic
versioning scheme. Major releases can have breaking changes. Minor
releases can have additional functionality and will preserve all
existing functionality. Patch releases will have only bugfixes.
Thanks for prodding me into this, @dagrooms52
2017-09-27 15:14:42 -05:00
Tyler Akins
0627cbbaf8
Making tests care about whitespace
...
When testing #19 I found that the tests were mistakenly ignoring some
whitespace changes. I've enabled whitespace checks and had to update the
tests because my editor likes newlines at the end of files and removes
whitespace at the end of lines. To make the test files easier to manage,
I've modified some scenarios to still test for the feature but also work
with the whitespace modifications that editors would perform.
2017-08-02 10:35:35 -05:00
Tyler Akins
f14150c205
Fixing indentation of partials in a condition
...
This is to address #19 .
2017-08-02 10:34:58 -05:00
Tyler Akins
00af9e978c
Making the specs run again in an easier way
2017-08-02 10:34:09 -05:00
Tyler Akins
2447f40abd
Merge pull request #17 from maslennikov/master
...
Fix exit code when partial file not found
2017-06-23 14:19:01 -05:00
Alexey Maslennikov
078dcabb06
Fix exit code when partial file not found
2017-06-23 21:10:38 +02:00
Tyler Akins
6376a9b817
Fixing indentation of multiple partials
...
This fixes #16 .
2017-06-20 14:19:44 -05:00
Tyler Akins
e6787e71d5
Merge pull request #15 from maslennikov/master
...
Adding an option to fail upon unset env variables
2017-06-16 11:52:22 -05:00
Alexey Maslennikov
31b2faf135
Fixing empty variable failure for --fail-not-set
2017-06-16 15:59:57 +02:00
Alexey Maslennikov
2b611b8f90
Making --fail-not-set work with partials
...
The return code was not propagated through nested subshells in case
when files were passed in as arguments.
2017-06-16 10:50:18 +02:00
Alexey Maslennikov
50aa18e2a6
Adding an option to fail upon unset env variables
2017-06-16 10:47:31 +02:00
Tyler Akins
4ccfaf9d79
Making work in strict mode and fixing len bug
2017-04-21 12:19:21 -05:00
Tyler Akins
0ca9970b58
Fixing multi-line partials
2017-04-21 09:37:16 -05:00
Tyler Akins
8142f70769
Fixing indentation of partials
2017-04-21 09:30:32 -05:00
Tyler Akins
387fc478fc
Merge pull request #14 from tests-always-included/fix-ifs-again
...
Fixing bug with array substrings
2017-02-23 14:20:36 -06:00
Tyler Akins
c2979c0fb8
Fixing bug with array substrings
...
Found on tests-always-included/wick#113
This was the solution first suggested by fidian/gg-core#7
2017-02-23 13:51:12 -06:00
Tyler Akins
62478ba084
Merge pull request #13 from tests-always-included/fix-array-slicing
...
Fixing the array slicing for Bash 3
2017-02-21 15:05:01 -06:00
Tyler Akins
a97368c74f
Fixing the array slicing for Bash 3
...
This IFS problem only happens on Bash 3 in some circumstances.
2017-02-21 11:00:39 -06:00
Tyler Akins
ecfc973c2f
Fixing --source to parse the right argument
...
This is addressing #12
2016-12-20 07:27:06 -06:00
Tyler Akins
410883c85d
Updates for style and to fix exit on error in some contexts
2016-12-15 18:11:29 -06:00
Tyler Akins
17f0e4be3d
Included installation instructions.
...
This closes #11 .
2016-12-14 07:41:33 -06:00
Tyler Akins
05110ce3ca
Treating BASH_SOURCE like an array
2016-10-25 06:11:33 -05:00
Tyler Akins
9b76cadefb
Logically simpler, functionally equivalent.
2016-10-25 05:59:52 -05:00
Tyler Akins
57663d7d34
Updating to match newer version of shellcheck
2016-10-25 05:56:40 -05:00
Tyler Akins
8238e144fd
Adding notes regarding ShellCheck
2016-08-03 10:24:56 -05:00
Tyler Akins
593c83b2ce
Adding test and fixes from shellcheck
2016-08-03 10:24:46 -05:00
Tyler Akins
c6bbf89f84
Fixing things reported by shellcheck
2016-08-03 10:19:43 -05:00
Tyler Akins
0cc1cef6e9
Updates to match recent code changes
2016-08-03 10:19:07 -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
Tyler Akins
2888626334
Bash 3 syntax and slight adjustments mostly for code style
2016-07-21 09:34:02 -05:00
Tyler Akins
ade7c1e77b
Merge pull request #9 from Alexandre-Silva/master
...
mo can now source a script before parsing templates
2016-07-21 09:25:05 -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
Alexandre-Silva
4f7fd392b0
Merge remote-tracking branch 'tai/master'
2016-07-21 14:38:51 +01:00
Tyler Akins
600f5c5725
Adding mechanism to test command-line variables
2016-07-21 07:06:39 -05:00
Alexandre-Silva
f9aea51163
mo can now source a script before parsing templates
2016-07-21 12:47:26 +01:00
Tyler Akins
a1e22f1814
Removing an unnecessary redirection
2015-12-21 09:03:10 -06:00
Tyler Akins
4e0c6894b4
Fixing a quoting issue
2015-12-21 09:02:42 -06:00
Tyler Akins
67e22388da
Removing the submodule
2015-12-21 09:02:33 -06:00
Tyler Akins
d3c8fb0671
Updated tomdoc.sh to treat all functions as code
2015-10-07 15:58:45 -05:00
Tyler Akins
d8141aabaa
'*' may flag Markdown as italics
2015-10-07 15:23:50 -05:00
Tyler Akins
ddf6d79a14
Renaming variables
...
Ones that are all uppercase can conflict with system variables. Using
lower case or camelCase variables will ensure we will never conflict
with these predefined values.
2015-10-02 10:47:53 -05:00
Tyler Akins
14b156d3c0
Updating the submodule
2015-10-02 10:06:19 -05:00
Tyler Akins
54d836364c
Automatically generated documentation
2015-10-02 10:04:39 -05:00
Tyler Akins
b5faf67737
Reformat comments into TomDoc format
2015-10-02 10:04:30 -05:00
Tyler Akins
3354bd7089
Using env to find bash
2015-10-02 09:46:41 -05:00
Tyler Akins
851e619fbd
Renaming all functions
...
This makes function names POSIX compliant. Not a big deal with bash,
but very important if you want to use tools like ctags or tomdoc.sh.
2015-10-02 09:46:24 -05:00