summaryrefslogtreecommitdiff
path: root/priv/templates
Commit message (Collapse)AuthorAgeFilesLines
* supervisor template: add missing commaMaxim Fedorov2019-05-091-1/+1
|
* remove large comment blocks from templates and use maps in supTristan Sloughter2019-05-083-37/+16
|
* update template moving maintainers into extras fieldBryan Paxton2019-01-182-2/+0
|
* templates/gitignore ignore emacs temp filesNiklas Johansson2018-10-311-0/+1
| | | | | | | | emacs creates temp files that ends with tilde (~). These temp files should never be commited. It is therefore safe to ignore them. Signed-off-by: Niklas Johansson <raphexion@gmail.com>
* Fix misleading config in app templateBoroska András2018-10-271-1/+1
| | | | | Uncommenting the sys.config shell setting in app template rebar.config works now as expected.
* Bump bbmustache and fix templates (#1862)Fred Hebert2018-10-055-15/+20
| | | | | | | | | * bump bbmustache to version 1.6.0 * Use alternative bbmustache brackets in templates This fixes the problems where literal nested tuples (`{{a,b},c}` or `{{a,b}}`) would blow up and spaces needed to be inserted.
* Merge pull request #1790 from ferd/autostart-shell-for-appsFred Hebert2018-05-202-1/+8
|\ | | | | Auto-boot main app in OTP app project templates
| * Auto-boot main app in OTP app project templatesFred Hebert2018-05-202-1/+8
| | | | | | | | | | | | People are starting to expect these niceties! It's also easier to drop the config when you know it's there than add it when you don't know it exists.
* | add tuple and comment for prior to OTP 18Peter Saxton2018-05-201-0/+2
| |
* | Use maps for child spec examplePeter Saxton2018-05-201-1/+2
|/
* start at least one async thread in async thread poolGrigory Starinkin2018-05-081-1/+1
| | | | | fixes an issue when shell is terminated with an error "Bus error: 10", on attempt to run rebar shell with verbose logging
* Add an alias of 'release' template as 'umbrella'Fred Hebert2017-08-091-0/+15
| | | | | | Gets in line with more common usage of the wording, as discussed in issue #1421 and https://www.reddit.com/r/erlang/comments/6sd01p/help_terribly_frustrated_with_the_erlang_build/
* Merge pull request #1598 from ferd/unicode-bonanzaFred Hebert2017-08-071-3/+3
|\ | | | | Unicode support in all the places
| * Unicode support in all the placesFred Hebert2017-08-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done through 3 main change groups: - replacing `~s` by `~ts` in format strings, so that strings that contain unicode are properly printed rather than crashing - adding the `unicode` argument to all function of the `re` module to ensure transformations on strings containing unicode data are valid instead of crashing (see issue #1302) - replacing `ec_cnv:to_binary/1` and `ec_cnv:to_list/1` with matching functions in `rebar_utils`. The last point has been done, rather than modifying and updating erlware commons, because binary and list conversions can be a contentious subject. For example, if what is being handled is actually bytes from a given binary stream, then forcing a byte-oriented interpretation of the data can corrupt it. As such, it does not appear safe to modify erlware commons' conversion functions since it may not be safe for all its users. Instead, rebar3 reimplements a subset of them (only converting atoms and chardata, ignoring numbers) with the explicit purpose of handling unicode string data. Tests were left as unchanged as possible. This may impact the ability to run rebar3's own suites in a unicode path, but respects a principle of least change for such a large patch.
* | Ignore IntelliJ fileaha-oretama2017-07-031-0/+1
|/
* Switch default license to Apache 2.0Fred Hebert2017-05-193-31/+193
|
* Match template license app to default licenseFred Hebert2017-05-142-2/+2
| | | | | | | | The default license created with rebar3 templates is a BSD 3 clause license. However the .app.src file generated do not include the license there. This adds the license type, fixing #1447.
* Add rebar3.crashdump to gitignore templateArtem Teslenko2016-12-101-0/+1
|
* Ignore IntelliJ IDEA filesEvgeny M2016-08-091-0/+1
| | | This family of IDE with Erlang plugin is already quite popular.
* Fix invalid template valueFred Hebert2016-06-261-1/+1
| | | | Used a nonexisting option instead of a correct one
* Cosmetic change: remove last comma-first styleLeo Liu2016-03-211-2/+1
|
* Remove triple brackets in bbmustache templatesFred Hebert2016-01-113-3/+3
| | | | | | Issues formerly were avoided by quoting atoms. Unquoting them created unbalanced tags (`{{{name}}`) which were mistakes. This patch inserts spaces to unconfused bbmustache.
* Unquote templates, add a warning instead.Fred Hebert2016-01-1012-23/+19
|
* contributors -> maintaiers in template app dataFred Hebert2016-01-052-2/+2
| | | | | hex.pm is now using maintainers instead of contributors in metadata. Templates should be updated to reflect it.
* make short name the default in vmargsTristan Sloughter2015-09-271-1/+1
|
* fix plugin provider source nameTristan Sloughter2015-07-261-1/+1
|
* Merge pull request #573 from tsloughter/plugins_tplFred Hebert2015-07-013-28/+36
|\ | | | | update plugin template to separate plugin init and providers
| * update plugin template to separate plugin init and providersTristan Sloughter2015-07-013-28/+36
| |
* | add hex attributes to .app.src templatesTristan Sloughter2015-07-012-2/+10
|/
* Ignore the build directoryomarkj2015-05-181-0/+1
|
* Merge pull request #429 from omarkj/omarkj-quote-atomsTristan Sloughter2015-05-149-13/+13
|\ | | | | Quote atoms to allow names to have dashes.
| * Quote atoms to allow names to have dashes.omarkj2015-05-139-13/+13
| |
* | Make standalone vs complete project template clearFred Hebert2015-05-125-5/+5
|/ | | | | Some templates like OTP apps are usable within releases, so the text does remain a bit vague, but hopefully less than before.
* Fix comma style in app.src templatesSergey Abramyan2015-05-112-17/+19
|
* add escriptize project templateTristan Sloughter2015-05-094-0/+55
|
* remove use of erlydtl in rebarTristan Sloughter2015-04-2920-29/+29
|
* Fixes #306: help text consistencyFred Hebert2015-04-021-7/+7
|
* makefile tabs replace spaces and force cleanTristan Sloughter2015-03-051-17/+17
|
* makefile template fixTristan Sloughter2015-02-211-1/+1
|
* cmake templateTristan Sloughter2015-02-212-0/+76
|
* fix defaults for relx templateTristan Sloughter2014-12-061-2/+2
|
* fix relx included rebar config typoTristan Sloughter2014-12-061-1/+1
|
* remove relx.config from release templateTristan Sloughter2014-12-061-1/+0
|
* move relx config into rebar config and add prod profileTristan Sloughter2014-11-303-13/+21
|
* remove include of rebar header from plugin templateTristan Sloughter2014-11-241-3/+1
|
* add .rebar3 to gitignoreTristan Sloughter2014-11-231-0/+1
|
* update provider template for changes to format_error/1Tristan Sloughter2014-11-231-8/+8
|
* fix plugin module template, add merl to escript, upgrade erlydtlTristan Sloughter2014-11-231-2/+1
|
* Minor template fixesFred Hebert2014-11-141-0/+1
| | | | | | - The OTP app template now adds the supevisor - The default apps_dir value does not contain the trailing '/' that the template index already added.
* Built-in templates create the project directoryFred Hebert2014-11-144-28/+28
|