aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_assembler.erl
AgeCommit message (Collapse)Author
2016-10-27Fix replace os vars functionalityLuis Rascao
The first run would correctly replace the environment variables, however it would also overwrite the original vm.args and sys.config thus preventing any further substitution in subsequent runs. Dev mode runs were also broken, all runs after the first were required to also define the RELX_REPLACE_OS_VARS variable in order not to overwrite the current vm.args with the original one, this prevented simply attaching to an already running node that was started this way. Add tests to exercise this functionality.
2016-10-25Merge pull request #529 from ↵Luis Rascão
lrascao/feature/include_nodetool_on_extended_start_script Always include nodetool when generating extended start script
2016-10-25Always include nodetool when generating extended start scriptLuis Rascao
Remove redundant check for extended_start_script. Add tests that enforce this invariant.
2016-10-18Fixed: #524. Erts src folder existence check addedAlexey Ovchinnikov
2016-10-03Don't include erts src when user requests src not be includedLuis Rascao
Using the include_src option
2016-04-29Add a boot variable to Windows scriptsemtenet
Add missing -boot_var argument to Windows scripts when starting erlang. Use different boot variables on Windows vs non-Windows. The built-in $ROOT boot variable points to the erts directory on Windows (dictated by erl.ini [erlang] Rootdir=) and so a boot variable $RELEASE_DIR is made pointing to the release directory
2016-02-18allow 'false' to tell relx to not create a sys.config or vm.argsTristan Sloughter
2016-02-05targetdir may be list not binary, convert before comparingTristan Sloughter
2016-01-31Merge pull request #442 from tsloughter/masterJordan Wilberding
use list comp instead of ec_plists for copy directory
2016-01-30use list comp instead of ec_plists for copy directoryTristan Sloughter
2016-01-23replacing OS vars: use .orig files to prevent overwritingerlanger
2015-11-21Merge pull request #415 from tsloughter/erl_inteface_libJordan Wilberding
include lib dir if it exists, erl_interface is an ex. with a lib
2015-11-21error out with useful message if the user provided sys.config isn't parseableTristan Sloughter
2015-11-21include lib dir if it exists, erl_interface is an ex. with a libTristan Sloughter
2015-09-28Revert "Fix possible copy-paste bug in rlx_prv_assembler"Tristan Sloughter
2015-09-04Fix possible copy-paste bug in rlx_prv_assemblerDmitry Ivanov
2015-07-18Merge pull request #369 from tsloughter/masterJordan Wilberding
run overlay after release not before
2015-07-18fix console_clean in dev_mode by always creating start_clean.bootTristan Sloughter
2015-07-15run overlay after release not beforeTristan Sloughter
2015-06-17Fixing test for windows, changing symlink to symlink_or_copyDaniel Widgren
2015-06-01always include start_cleanTristan Sloughter
2015-06-01add include_nodetool option for including nodetool but not extended start scriptTristan Sloughter
2015-05-08use mustache instead of erlydtl for overlaysTristan Sloughter
2015-02-01cleanup: remove unused provider attributes to not complicate codeTristan Sloughter
2015-01-31add support for excluding applications from the releaseTristan Sloughter
2014-11-22if include_erts is false, do not include stdlibsTristan Sloughter
2014-11-09move back to using format_error/1Tristan Sloughter
2014-11-06add option to strip debug_info from beam files if not dev_modeTristan Sloughter
2014-10-23use providers PRV_ERROR and format_error/2Tristan Sloughter
2014-10-22include state in format_error/2Tristan Sloughter
2014-10-11provider task dependenciesTristan Sloughter
2014-07-09ensure assembler copies the contents of symlinked dirsJamie Winsor
2014-05-17Merge pull request #183 from jwilberding/fix_rlxv1.0.0Tristan Sloughter
Fix for #182, which requires we delete a read-only file before overwriti...
2014-05-17Fix for #182, which requires we delete a read-only file before overwriting itJordan Wilberding
2014-05-14refactor tar and relup commands to own providersTristan Sloughter
2014-05-14refactor cli args and config file var mergingTristan Sloughter
2014-05-04Cleanup whitespaceJordan Wilberding
2014-05-04remove mode change on nodetool and install upgrade escriptsTristan Sloughter
2014-04-07Add support for explicit erts pathJason L. Shiffer
Add support for 'include_erts' to be defined as a path to an external erlang release. This will allow for relx to include cross-compiled erts builds. include_erts can now be one of three values: true (default), false, or "/path/to/erlang". The symantics do not change unless it is set to a string in which case it only overrides the default lookup "code:root_dir()" with the given path.
2014-04-06Windows supportnuex
2014-03-08assume templates are already compiled, use dtl for files toonuex
2014-03-08load scripts from files and templatesnuex
2014-03-08Merge pull request #135 from hirschenberger/masterJordan Wilberding
Start scripts should honor existing LD_LIBRARY_PATH settings
2014-03-07Honor LD_LIBRARY_PATH settings in start scriptshirschen
The start scripts export the LD_LIBRARY_PATH environment variable to "$ERTS_DIR/lib". They should honor existing LD_LIBRARY_PATH required e.g. for running ports.
2014-03-06by default do not do app and release discovery under output dirTristan Sloughter
2014-02-16fix double include_erts call with vm.args and sys.config config varsTristan Sloughter
2014-02-09Remove destination start_clean.sh before copying, since with R16 it is 0444, ↵Jordan Wilberding
which makes the write fail. Fixes #120
2014-01-27Run the node embedded mode when in foregroundAli Sabil
2014-01-27set ERL_LIBS when running console | console_clean | console_bootAli Sabil
2014-01-22Merge pull request #112 from tsloughter/mvoe_nodetool_install_upgradeEric Merritt
mv nodetool and install_upgrade script to bin dir, so no need to incl erts