Sergey Abramyan
84775fbcfa
Fix comma style in app.src templates
10 anos atrás
Tristan Sloughter
6c72286bf9
add escriptize project template
10 anos atrás
Tristan Sloughter
2e5496f5f5
remove use of erlydtl in rebar
10 anos atrás
Fred Hebert
6acf0ea482
Add in shell completion for wtf->report rename
10 anos atrás
Tristan Sloughter
3b56f3cc43
update the dir used for upgrade deps to the new path under _build
10 anos atrás
derwinlu
0ceb3bd6ce
implement zsh completion
10 anos atrás
Fred Hebert
a3274e1bc8
Fixes #306 : help text consistency
10 anos atrás
derwinlu
61c4d75098
implement bash autocompletion
10 anos atrás
Tristan Sloughter
8ff6a9f935
makefile tabs replace spaces and force clean
10 anos atrás
Tristan Sloughter
410b98e0d4
makefile template fix
10 anos atrás
Tristan Sloughter
313c75a46f
cmake template
10 anos atrás
Tristan Sloughter
2da9be8880
fix defaults for relx template
10 anos atrás
Tristan Sloughter
90438fb1a3
fix relx included rebar config typo
10 anos atrás
Tristan Sloughter
cd46f5e28c
remove relx.config from release template
10 anos atrás
Tristan Sloughter
c4ee53c8bc
move relx config into rebar config and add prod profile
10 anos atrás
Tristan Sloughter
6914429bc6
remove include of rebar header from plugin template
10 anos atrás
Tristan Sloughter
4002e57141
add .rebar3 to gitignore
10 anos atrás
Tristan Sloughter
e5717547d5
update provider template for changes to format_error/1
10 anos atrás
Tristan Sloughter
ddee7ec046
fix plugin module template, add merl to escript, upgrade erlydtl
10 anos atrás
Fred Hebert
731c3fd8a4
Minor template fixes
- The OTP app template now adds the supevisor
- The default apps_dir value does not contain the trailing '/' that the
template index already added.
10 anos atrás
Fred Hebert
ad9ca0cc86
Built-in templates create the project directory
10 anos atrás
Fred Hebert
c4cf30e1d2
The .tmp0319203 output is gone
10 anos atrás
Fred Hebert
2f1db5e063
Update plugin templates and doc to use template
10 anos atrás
Fred Hebert
392abf1481
First unkeyed var is now 'name', appid -> name
The first variable can be unkeyed and the provider will sub in the
variable name 'name'. Additionally, the built-in templates and
documentation have been updated so that 'appid' is now 'name' and the
alternative commands are shown.
10 anos atrás
Fred Hebert
c832b567db
Redo templates with docs and whatnot
This totally breaks compatibility with rebar2, and maybe it shouldn't
have.
10 anos atrás
Tristan Sloughter
e195dd9be9
fix readme template to use rebar3 command
10 anos atrás
Tristan Sloughter
f873510025
add modules element to .app file templates
10 anos atrás
Tristan Sloughter
f1a0249bcf
preliminary _checkouts/ support
10 anos atrás
Tristan Sloughter
fcf2c97156
add otp_app template
10 anos atrás
Tristan Sloughter
b37a5ae611
move providers to separate app
10 anos atrás
Tristan Sloughter
6f9ea13dd4
move deps and plugins to _ prefixed
10 anos atrás
Tristan Sloughter
51f1cf4aae
install plugins to plugins/
10 anos atrás
Tristan Sloughter
989a1bfe8d
add plugin template
10 anos atrás
Tristan Sloughter
48769e75c2
wip: move to erlydtl for rebar templates
10 anos atrás
Tristan Sloughter
0f6c6305d6
fix lib to not start mod
10 anos atrás
Tristan Sloughter
5980a3c72a
update release run and variables in templates
10 anos atrás
Tristan Sloughter
884d298291
update templating
10 anos atrás
Tristan Sloughter
6b97970530
add some templates
10 anos atrás
Antonio Murdaca
c9a301d04c
Add gen_event template
11 anos atrás
Habibutsu
12ca1fb126
Error 'Command not found' when sname is used
When a node is configured with -sname the REMSH_NAME_PART argument should be defined with using command 'hostname' but error occurs due extra space
11 anos atrás
Tuncer Ayaz
77a0eb6fe4
Fix #56 (always-on recursion)
Always-on recursive application of all rebar commands causes too many
issues. Recursive application is required for:
1. dealing with dependencies: get-deps, update-deps, and compile of deps
right after get-deps or update-deps
2. projects with a riak-like apps/ project structure and dev process
The vast majority of projects are not structured like riak. Therefore,
moving forward it's best to (by default) restrict recursive behavior to
dealing with deps. This commit does that and also adds command line and
rebar.config options for controlling or configuring recursion. Also, we
introduce two meta commands: prepare-deps (equivalent to rebar -r
get-deps compile) and refresh-deps (equivalent to rebar -r update-deps
compile). riak-like projects can extend the list of recursive commands
(to include 'eunit' and 'compile') by adding
{recursive_cmds, [eunit, compile]} to rebar.config.
12 anos atrás
Shunichi Shinohara
81ed1611af
Add TODO comment to install_upgrade script template
11 anos atrás
Shunichi Shinohara
e4300bf88f
Change nodetool path to under releases/<RELEASE_VERSION>/
12 anos atrás
Shunichi Shinohara
12af16eb70
Add slim release support for runner script
12 anos atrás
Pierre Fenoll
70cdb37942
Add command to rebar:command_names/0
11 anos atrás
Pierre Fenoll
c83d037404
Add a library template
11 anos atrás
Tuncer Ayaz
6de94e8a16
Change default log level to 'warn' and introduce -q/--quiet
11 anos atrás
Manuel Durán Aguete
e1d218f99a
Init RUNNER_SCRIPT var in simplenode.runner
RUNNER_SCRIPT variable is not initialized in simplenode.runner and it's
referenced when calling sudo.
11 anos atrás
Manuel Durán Aguete
cdfcc27087
Make REMSH node run in hidden mode
To avoid problems with REMSH node being visible from another nodes
starts it in hidden mode (erl -hidden).
11 anos atrás
Manuel Durán Aguete
5d4272baef
Incorrect REMSH args when sname is used
When a node is configured with -sname in app.config or sys.config the
REMSH_NAME_ARG and REMSH_REMSH_ARG arguments are incorrect due the
assumption that the node name always contains '@'.
To fix the bug, the script tries to find '@' and then compose the
arguments acording to node name type. If in long name mode the
script can't compose a correct node name exits with warning.
11 anos atrás