Sergey Abramyan
84775fbcfa
Fix comma style in app.src templates
pirms 10 gadiem
Tristan Sloughter
6c72286bf9
add escriptize project template
pirms 10 gadiem
Tristan Sloughter
2e5496f5f5
remove use of erlydtl in rebar
pirms 10 gadiem
Fred Hebert
a3274e1bc8
Fixes #306 : help text consistency
pirms 10 gadiem
Tristan Sloughter
8ff6a9f935
makefile tabs replace spaces and force clean
pirms 10 gadiem
Tristan Sloughter
410b98e0d4
makefile template fix
pirms 10 gadiem
Tristan Sloughter
313c75a46f
cmake template
pirms 10 gadiem
Tristan Sloughter
2da9be8880
fix defaults for relx template
pirms 10 gadiem
Tristan Sloughter
90438fb1a3
fix relx included rebar config typo
pirms 10 gadiem
Tristan Sloughter
cd46f5e28c
remove relx.config from release template
pirms 10 gadiem
Tristan Sloughter
c4ee53c8bc
move relx config into rebar config and add prod profile
pirms 10 gadiem
Tristan Sloughter
6914429bc6
remove include of rebar header from plugin template
pirms 10 gadiem
Tristan Sloughter
4002e57141
add .rebar3 to gitignore
pirms 10 gadiem
Tristan Sloughter
e5717547d5
update provider template for changes to format_error/1
pirms 10 gadiem
Tristan Sloughter
ddee7ec046
fix plugin module template, add merl to escript, upgrade erlydtl
pirms 10 gadiem
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.
pirms 10 gadiem
Fred Hebert
ad9ca0cc86
Built-in templates create the project directory
pirms 10 gadiem
Fred Hebert
c4cf30e1d2
The .tmp0319203 output is gone
pirms 10 gadiem
Fred Hebert
2f1db5e063
Update plugin templates and doc to use template
pirms 10 gadiem
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.
pirms 10 gadiem
Fred Hebert
c832b567db
Redo templates with docs and whatnot
This totally breaks compatibility with rebar2, and maybe it shouldn't
have.
pirms 10 gadiem
Tristan Sloughter
e195dd9be9
fix readme template to use rebar3 command
pirms 10 gadiem
Tristan Sloughter
f873510025
add modules element to .app file templates
pirms 10 gadiem
Tristan Sloughter
f1a0249bcf
preliminary _checkouts/ support
pirms 10 gadiem
Tristan Sloughter
fcf2c97156
add otp_app template
pirms 10 gadiem
Tristan Sloughter
b37a5ae611
move providers to separate app
pirms 10 gadiem
Tristan Sloughter
6f9ea13dd4
move deps and plugins to _ prefixed
pirms 10 gadiem
Tristan Sloughter
51f1cf4aae
install plugins to plugins/
pirms 10 gadiem
Tristan Sloughter
989a1bfe8d
add plugin template
pirms 10 gadiem
Tristan Sloughter
48769e75c2
wip: move to erlydtl for rebar templates
pirms 10 gadiem
Tristan Sloughter
0f6c6305d6
fix lib to not start mod
pirms 10 gadiem
Tristan Sloughter
5980a3c72a
update release run and variables in templates
pirms 10 gadiem
Tristan Sloughter
884d298291
update templating
pirms 10 gadiem
Tristan Sloughter
6b97970530
add some templates
pirms 10 gadiem
Antonio Murdaca
c9a301d04c
Add gen_event template
pirms 11 gadiem
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
pirms 11 gadiem
Shunichi Shinohara
81ed1611af
Add TODO comment to install_upgrade script template
pirms 11 gadiem
Shunichi Shinohara
e4300bf88f
Change nodetool path to under releases/<RELEASE_VERSION>/
pirms 12 gadiem
Shunichi Shinohara
12af16eb70
Add slim release support for runner script
pirms 12 gadiem
Pierre Fenoll
70cdb37942
Add command to rebar:command_names/0
pirms 11 gadiem
Pierre Fenoll
c83d037404
Add a library template
pirms 11 gadiem
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.
pirms 11 gadiem
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).
pirms 11 gadiem
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.
pirms 11 gadiem
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.
pirms 12 gadiem
syl20bnr
89c8f931a5
Add support for ping command on windows in the simple node runner
pirms 12 gadiem
Tuncer Ayaz
a2f3207542
Do not compile nodetool escript
This removes the dependency on lib/compiler in an OTP release.
pirms 12 gadiem
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.
pirms 12 gadiem
Dave Smith
c057c7771e
Remove unnecessary bar
pirms 12 gadiem
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
pirms 12 gadiem