summaryrefslogtreecommitdiff
path: root/test/rebar_new_SUITE.erl
Commit message (Collapse)AuthorAgeFilesLines
* Plugin templates enabledFred Hebert2015-12-191-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets a plugin define templates to be loaded: $ rebar3 new ... proper (plugin): A basic PropEr suite for an OTP application ... $ rebar3 new help proper proper: plugin template (...) Description: A basic PropEr suite for an OTP application Variables: name="suite" (...) ... → rebar3 new proper fakesuite ===> Writing test/prop_fakesuite.erl In this case, proper is a fake template file I've put by hand in _build/default/plugins/rebar3_proper/priv/<somename>/, meaning it will only work as far as it's called from the project's root. The priority order of plugins is now .config > plugin > built-in, such that someone could ensure plugins do not crush their own private templates, but also that custom or plugin templates do overtake built-in ones. It used to be Built-in > .config only. Templates are searched for recursively in the priv/ directory of plugins.
* Handle force flags in leading positionFred Hebert2015-11-191-1/+38
| | | | The checking of flags and the parsing of arguments is separated up.
* update hg username and email match in templatesTristan Sloughter2015-03-171-2/+24
|
* use git or hg configs if exist for default user and email in templatesTristan Sloughter2015-03-051-2/+26
|
* follow xdg standard. fixes #122Tristan Sloughter2015-02-191-1/+1
|
* Add support for custom templates in subdirectoriesFred Hebert2014-12-231-0/+59
- Includes tests for templates and their application