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
a3274e1bc8
Fixes #306 : help text consistency
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
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
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
olgeni
505458eecb
Use "pwd -P" to get the current physical path.
It is a portable version of the realpath(1) utility that you can find on
Mac OS X and FreeBSD (see also The Open Group Base Specifications Issue
6, IEEE Std 1003.1).
Without the -P flag, pwd(1) might return different values when the
current path contains one or more symlinks, depending on how you got
into the current directory.
In simplenode.runner, this may cause PIPE_DIR to have different values
on each use, which will make it impossible to connect to the running
node unless you guess the correct path yourself.
12 anos atrás
syl20bnr
89c8f931a5
Add support for ping command on windows in the simple node runner
12 anos atrás
Tuncer Ayaz
a2f3207542
Do not compile nodetool escript
This removes the dependency on lib/compiler in an OTP release.
12 anos atrás
Tuncer Ayaz
d28c92ff11
simplenode.reltool.config: use default sys-level mod_cond setting
As discussed here
http://erlang.org/pipermail/erlang-questions/2012-December/071135.html
change the reltool spec to use the default sys-level mod_cond setting.
12 anos atrás
Dave Smith
c057c7771e
Remove unnecessary bar
12 anos atrás
Jared Morrow
c4989f0939
Change simplenode template files to work on more platforms
When developing Riak, we have found bugs and other issues due
to the number of platforms we support.
Here is an overview of the changes:
- Fix command-line syntax for commands to work on *BSD / Sun
- Add chkconfig and getpid to nodetool
- Replace platform specific 'kill' commands with a nodetool
getpid method
- Fix RUNNER_USER settings to work on *BSD
12 anos atrás