summaryrefslogtreecommitdiff
path: root/priv/templates
Commit message (Collapse)AuthorAgeFilesLines
* fix vm.args checks by always using $VMARGS_PATHSteven Gravell2011-09-211-24/+23
|
* Update Windows runner script usage blurbMatt Campbell2011-09-201-1/+1
|
* Get rid of app.configjoewilliams2011-09-205-6/+37
| | | | | | | | | | | | | | | | | | | | app.config has been a long standing erroneous file in rebar. Erlang/OTP documentation suggests a sys.config file instead. This file is stored in the releases/VSN directory. This does a few things but most importantly it ensures your config (contained in the application environment) survives a hot upgrade. It also has the advantage of allowing the configuration of the application to be versioned along side the application code. This patch flips rebar to use sys.config rather than app.config. Additionally it makes this flip to vm.args as well, making them versioned just like sys.config. This patch also includes runner script changes to support the old etc/app.config config file location and support for Windows. Thanks to mokele for the initial work and kick in the pants to make this finially happen.
* Add console command to windows runner scriptMatt Campbell2011-09-201-0/+5
|
* Clean up windows batch scriptsBen2011-09-012-12/+6
|
* Add simple Windows batch scripts to node templatesMatt Campbell2011-09-014-0/+90
|
* Adapt basicnif template to OTP changesTuncer Ayaz2011-07-192-15/+21
|
* Modernize basicnif template codeTuncer Ayaz2011-07-171-10/+16
|
* Fix grep portability (Reported-by: Andrew Thompson)Tuncer Ayaz2011-07-141-2/+2
|
* Change shebang lines to /bin/shTuncer Ayaz2011-07-132-2/+2
|
* Propagate exit status from nodetool to runner scriptAndrew Thompson2011-07-131-3/+20
|
* Whitespace cleanupsTuncer Ayaz2011-07-134-21/+24
|
* fix erlexec parameterAndrew Gopienko2011-07-051-1/+1
|
* Exact match name, cookie (reported-by Pablo Platt)Tuncer Ayaz2011-06-041-2/+2
|
* Fix formatting (thanks Piotr Usewicz)Tuncer Ayaz2011-04-152-2/+2
|
* Add file local variables where appropriatePiotr Usewicz2011-04-152-3/+1
|
* Support passing plain arguments to `appname start`Alexey Romanov2011-03-051-1/+2
| | | | | | | Currently with default simplenode template, `appname console other_args` will pass ["console", "other_args"] as plain arguments. But `appname start other_args` effectively calls `appname console`. This patch replaces this call with `appname console other_args`.
* Remove rejected commitAlexey Romanov2011-03-051-1/+1
|
* Add console_clean to usage message for simplenode.Alexey Romanov2011-02-211-1/+1
|
* Support passing plain arguments to simplenode.Alexey Romanov2011-02-211-1/+1
| | | | | | | `init:get_plain_arguments()` returns `["console", "more_args"]` when started with `$APP_NAME console more_args`, but `["console"]` when started with `$APP_NAME start more_args`. This patch makes `start` behave like `console` in this respect.
* Remove gratuitous spacesTuncer Ayaz2011-02-151-5/+5
|
* Add common_test suite templateTim Watson2011-02-152-0/+169
| | | | | | | | | | | | This change adds a simple common_test suite template that can be instantiated with the name of a module under test like so: `rebar create template=ctsuite testmod=mymodule` The template creates an empty test suite in the test directory, automatically exports test functions and sets up a first, skipped test function.
* Clarify trailing slash for PIPE_DIRJoseph Wayne Norton2011-02-151-2/+2
| | | | | The trailing slash for PIPE_DIR is necessary for both start and attach operations.
* Clean up emacs file local variablesTuncer Ayaz2011-01-311-1/+1
|
* Fix bug 294Tuncer Ayaz2011-01-291-0/+22
|
* Add 'generate-upgrade' commandjoewilliams2011-01-271-2/+8
| | | | | | | | | | | | | | | | | | | | | To support OTP release upgrades I have added support for building upgrade packages. Support for this is included in the rebar_upgrade module, specifically generate_upgrade/2. It requires one variable to be set on the command line 'previous_release' which is the absolute path or relative path from 'rel/' to the previous release one is upgrading from. Running an upgrade will create the needed files, including a relup and result in a tarball containing the upgrade being written to 'rel/'. When done it cleans up the temporary files systools created. Usage: $ rebar generate-upgrade previous_release=/path/to/old/version This also includes a dummy application that can be used to test upgrades as well as an example. Special thanks to Daniel Reverri, Jesper Louis Andersen and Richard Jones for comments and patches.
* Add file local variables to nodetool escriptTuncer Ayaz2011-01-211-1/+2
|
* Synchronize nodetool escript with riak versionTuncer Ayaz2011-01-211-1/+36
|
* Fix possible export VAR=VALUE bashismTuncer Ayaz2010-12-171-1/+2
|
* Revert to using awk instead of cutTuncer Ayaz2010-12-131-3/+3
|
* Extract column 2 on CYGWINTuncer Ayaz2010-12-101-1/+1
|
* Use cut instead of awk to extract 1st columnTuncer Ayaz2010-12-101-4/+3
|
* Change vm process search to include non-smp beamTuncer Ayaz2010-12-101-3/+3
|
* Disable printing of column headers in ps callsTuncer Ayaz2010-12-091-2/+2
|
* Fix portability of ps invocationTuncer Ayaz2010-12-071-1/+17
|
* Fix whitespace error and add file local variablesTuncer Ayaz2010-12-071-1/+3
|
* Fix bashismTuncer Ayaz2010-12-021-1/+1
|
* Fix bz://705; make sure to invoke chmod as part of the templateDave Smith2010-10-271-0/+3
|
* Bug 640: use net_kernel:hidden_connect_node() for nodetoolScott Fritchie2010-08-181-3/+3
|
* Updating simplenode template so that it works with refactored overlay ↵Dave Smith2010-07-062-12/+14
| | | | | | | support; fixes bugs 347 and 348 --HG-- extra : rebase_source : b8eaa05914a99a7f67fdc83f1e07a92bdcad5dfd
* The trailing slash is important enough to put it here directly since when it'sRyan Tilder2010-06-231-1/+2
| | | | | missing from the PIPE_DIR definition above, the application won't start and doesn't log any thing to the expected locations.
* Adding simpleapp.app.srcDave Smith2010-06-221-0/+12
|
* Updating simpleapp template to use .app.srcDave Smith2010-06-222-17/+1
|
* Adding basic NIF templateDave Smith2010-03-253-0/+90
|
* Updating template defs to use "template" in lieu of "file" directiveDave Smith2010-02-143-4/+4
|
* Merging w/ http://bitbucket.org/bryan/rebarDave Smith2010-02-142-5/+5
|\
| * provide separate 'file' and 'template' directives, instead of one 'file' ↵Bryan Fink2010-02-132-5/+5
| | | | | | | | directive with a boolean Render flag
* | Added 3 new templates:OJ Reeves2010-02-037-0/+124
|/ | | | | | - simplefsm - Basic shell of a gen_fsm module - simplesrv - Basic shell of a gen_server module - simplemod - Basic shell of a module along with an associated test module.
* Fixing issue #3; make sure to properly escape simplenode related files. ↵Dave Smith2010-01-262-2/+2
| | | | Patch provided by cstar..thanks!
* Fixing some typos in simpleapp templateDave Smith2010-01-092-1/+2
|