aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_util.erl
AgeCommit message (Collapse)Author
2019-04-16Use recursive copy as last fallback on all platformsTino Breddin
2019-04-16Do not create a junction (soft link) for filesemtenet
When symlink_or_copy/2 cannot use file:make_symlink/2 on Windows due to the user lacking SeCreateSymbolicLinkPrivilege it tries a fall back. Detect the source type and use an appropriate fall back: * junction for directories and, * copy for files. Improve error detection in win32_make_junction/2 and make it repeatable when the target exists
2019-04-16Remove dead code of cp_r/2, xcopy_win32/2 and cp_r_win32/2.emtenet
The bulk of the code is hidden behind opposite checks: * os:type() /= {win32, _} in symlink_or_copy/2 * os:type() == {win32, _} in cp_r/2 symlink_or_copy/2 is always using win32_symlink/2 when file:make_symlink/2 fails.
2016-10-05win32 cross release on unixobi458
2016-09-25Silence dialyzer warningsLuis Rascao
Fix/add method specs, remove unreachable branches, make rlx_util:render/2 accept both iolists and binaries.
2016-02-16Fix case for applicaiton:get_envHeinz N. Gies
2016-02-16Use an app_env to get color intensityHeinz N. Gies
2016-02-09Add low / high color modeHeinz N. Gies
2015-09-16remove unneeded ifdefs and change from NOTEST to TEST defineTristan Sloughter
2015-06-30Remove unnecessary `compile_source` option from `escript:extract/2`.Paul Schoenfelder
- This was printing error output if the caller was not an escript, regardless of error handling strategy. - The option is not actually required for extracting a valid escript.
2015-06-25Fix paths for symlinksDaniel Widgren
2015-06-21use packages and add hex package metadata to .app.srcTristan Sloughter
2015-06-17Fixing test for windows, changing symlink to symlink_or_copyDaniel Widgren
2015-05-16don't return value as string if not a printable stringTristan Sloughter
2015-05-08use mustache v0.3.0Tristan Sloughter
2015-05-08use mustache instead of erlydtl for overlaysTristan Sloughter
2014-05-14refactor tar and relup commands to own providersTristan Sloughter
2013-11-18Support wildcards in lib dirsJosé Valim
Wildcards are supported in both lib_dirs in config files as well via the -l command line option.
2013-09-16improved user output lookTristan Sloughter
2013-09-13replace use of wildcard ** since it is not in <R16 ErlangTristan Sloughter
2013-09-11allow multiple actions, including new action tarTristan Sloughter
2013-06-11numerous small bugfixesEric
2013-05-10internal rename completion of all relcool to relx callsEric
2013-05-09Basic file rename from rcl to rlxEric