Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow rebar3 to edoc itself | Fred Hebert | 2016-11-17 | 1 | -2/+2 |
| | |||||
* | Avoid backward-compatibility-breaking changes. | Alexander Sedov | 2016-10-11 | 1 | -8/+10 |
| | |||||
* | Made reading sys.configs consistent with OTP specification. | Alexander Sedov | 2016-10-11 | 1 | -5/+8 |
| | |||||
* | Ignore mv warnings | David de Boer | 2016-09-15 | 1 | -3/+8 |
| | | | | | | | In some cases, mv will throw a warning, while still moving the files correctly and returning a 0 return code: "mv: can't preserve ownership of ... Permission denied". | ||||
* | Fixes for windows environment: 1) copy empty directories when cloning (since ↵ | Steve Strong | 2016-06-28 | 1 | -2/+2 |
| | | | | git occasionally has a refs directory with no files in it - if the directory is not present, then git does not believe it is a git repo) and 2) change order of git rev-parse arguments to match git docs | ||||
* | Merge pull request #1227 from ferd/compiler-source-format | Fred Hebert | 2016-06-11 | 1 | -1/+19 |
|\ | | | | | Compiler source paths in output are now relative | ||||
| * | Option to format compiler sources | Garrett Smith | 2016-05-02 | 1 | -1/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default rebar3 displays compiler sources as absolute paths in their original location, which is under the build dir. This change introduces an option 'compiler_source_format' to format sources in two alternative ways: relative absolute When either 'relative' or 'absolute' are specified, the file is resolved to its original location when it is a link. When 'relative' is specified, the path is displayed relative to the current working directory. When 'absolute' is specified, the path is absolute. The default value is 'unchaged' which leaves the compiler source unchanged. This is arguably too flexible as I suspect most people would opt for 'relative' all the time - it's the most compact representation of the file and is sufficient to find the source given cwd. The change however is meant to introduce the change gradually, preserving existing behavior and giving users a choice for formats. In time perhaps the default can be changed to 'relative' - but still allowing users to revert to the other two options ('absolutel' and 'unchanged') as needed. | ||||
* | | add support for passing a sys_config to common test | Tristan Sloughter | 2016-06-11 | 1 | -0/+15 |
|/ | |||||
* | fix dirs robocopy and canonical paths in windows | Fred Hebert | 2016-01-07 | 1 | -4/+12 |
| | | | | | | | | | | | | - robocopying a directory into another directory recursively expects the directory name to be properly mapped onto the destination, otherwise all the files are copied into the given path. This patches things so a directory-to-directory robocopy works as expected in a linux mindset so tests pass - the test for canonical paths didn't expect a windows environment at all; the test (and library) is modified to be consistent in that environment: always with a native format and with proper support of drive letters. | ||||
* | preserve attributes when copying files in rebar_utils:cp_r for unix | Tristan Sloughter | 2015-11-25 | 1 | -1/+1 |
| | |||||
* | function name changes: | alisdair sullivan | 2015-09-14 | 1 | -18/+18 |
| | | | | | `reduce_path/1` -> `canonical_path/1` `relative_path/2` -> `path_from_ancestor/2` | ||||
* | extract `retarget_path/2', `relative_path/2' and `reduce_path/1' and | alisdair sullivan | 2015-09-13 | 1 | -1/+28 |
| | | | | add tests | ||||
* | Use raw bytestream when writing files | Fred Hebert | 2015-08-29 | 1 | -2/+2 |
| | | | | | | | This patch forces write_file_if_contents_differ/2 to use raw bytes as when writing files. This fixes an issue where UTF-8 characters are processed and written back as ISO-8859-1 into the file, which makes it impossible to use UTF-8 characters in .app.src files. | ||||
* | remove replacement of home dir with ~ in update output | Tristan Sloughter | 2015-08-26 | 1 | -5/+0 |
| | |||||
* | use 'default' for default hex repo path in cache and include in info messages | Tristan Sloughter | 2015-08-22 | 1 | -1/+5 |
| | |||||
* | Tidy up "Linking.." messages during compile | Richard Jones | 2015-07-22 | 1 | -1/+1 |
| | | | | | | | | | | | | Linking message will only be printed the first time the link or copy actually happens. Note: rebar_file_utils:symlink_or_copy will now return 'exists' instead of ok, if it did nothing because the link exists. Nothing was checking the return value yet, so seemed reasonable. | ||||
* | Escape paths and args in shell commands | Fred Hebert | 2015-07-18 | 1 | -19/+18 |
| | | | | | | | Basic escaping is done only. Fancy hex sequences are not covered, but this should otherwise take care of the most common issues. Fixes #497 | ||||
* | Changed cases on robocopy so it uses variables in a better way | Daniel Widgren | 2015-07-05 | 1 | -22/+22 |
| | |||||
* | Fix for different robocopy behaviour when moving files or folders. | CarlosEDP | 2015-07-01 | 1 | -11/+23 |
| | |||||
* | Fix for robocopy command | CarlosEDP | 2015-07-01 | 1 | -3/+8 |
| | |||||
* | Fixed review comments | Daniel Widgren | 2015-06-26 | 1 | -2/+2 |
| | |||||
* | Fixed so that release tests now pass. Got all green tests. | Daniel Widgren | 2015-06-26 | 1 | -13/+39 |
| | |||||
* | Fixed two tests for windows 8.1 and added touch functionality | Daniel Widgren | 2015-06-26 | 1 | -15/+34 |
| | |||||
* | Fix windows-related issues | Viacheslav V. Kovalev | 2015-06-26 | 1 | -6/+9 |
| | |||||
* | print and format error message for bad .app files and all bad configs | Tristan Sloughter | 2015-05-22 | 1 | -1/+17 |
| | |||||
* | use relative path on non-windows and copy if link fails | Tristan Sloughter | 2015-02-28 | 1 | -2/+19 |
| | |||||
* | add functions `system_tmpdir/0,1` and `reset_dir/1` | alisdair sullivan | 2015-01-15 | 1 | -1/+31 |
| | | | | (in `rebar_file_utils`) | ||||
* | properly escape paths | Tristan Sloughter | 2014-11-27 | 1 | -6/+6 |
| | |||||
* | file_utils: properly report errors (fix #95) | Tuncer Ayaz | 2014-04-11 | 1 | -3/+3 |
| | | | | While at it, improve the error message printed by rebar_utils:sh/2. | ||||
* | Do not rewrite .app file if it didn't change | Lev Walkin | 2012-08-08 | 1 | -1/+13 |
| | |||||
* | Clean up specs | Tuncer Ayaz | 2012-08-06 | 1 | -3/+3 |
| | |||||
* | Fix R13B03 build (Reported-by: Sergey Nartimov) | Tuncer Ayaz | 2012-07-28 | 1 | -1/+1 |
| | |||||
* | Fix eunit testing of apps that have no erl files | Eric B Merritt | 2012-07-03 | 1 | -0/+2 |
| | | | | | | | 'Erlang' projects that do not contain any erlang files (Joxa, LFE, Elixir, etc) break the eunit task. It attempts to copy an empty list of source files to the .eunit directory. This change makes copying an empty list a simple no-op. | ||||
* | Remove ?FAIL in favor of ?ABORT | Dave Smith | 2012-06-08 | 1 | -1/+1 |
| | |||||
* | Fix copying dir to non-existing dir in Win32 | Jesse Gumm | 2012-02-20 | 1 | -0/+19 |
| | |||||
* | rebar_file_utils: simplify commands on Windows | Jan Klötzke | 2011-10-20 | 1 | -3/+3 |
| | |||||
* | Fix regressions in rebar_file_utils | Tuncer Ayaz | 2011-09-15 | 1 | -5/+9 |
| | |||||
* | Fix regression in rebar_file_utils:cp_r/2 | Tuncer Ayaz | 2011-09-04 | 1 | -2/+3 |
| | |||||
* | Fix spec for rebar_file_utils:rm_rf/1 | Tuncer Ayaz | 2011-09-02 | 1 | -1/+1 |
| | |||||
* | Quote paths before passing them to the shell | Jan Klötzke | 2011-09-02 | 1 | -6/+9 |
| | |||||
* | Clean up specs | Tuncer Ayaz | 2011-03-28 | 1 | -4/+3 |
| | |||||
* | Clean up code | Tuncer Ayaz | 2011-02-06 | 1 | -3/+3 |
| | |||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Apply Tidier suggestions | Tuncer Ayaz | 2011-01-13 | 1 | -16/+16 |
| | |||||
* | Unify executable invocation | Juhani Rankimies | 2011-01-06 | 1 | -21/+47 |
| | | | | | Add flags to rebar_utils:sh to control output and error handling. Replace calls to os:cmd with calls to rebar_utils:sh. | ||||
* | Port rebar_file_utils to Windows | Juhani Rankimies | 2010-10-27 | 1 | -5/+73 |
| | | | | | | | | Modify rm_rf and cp_r to work when {win32,_} = os:type(). Simplify rm_rf to only accept one filename, directoryname or wildcard. Add unit tests to ensure a similar behaviour on windows and unix. Thanks to tuncer for guidance and feedback. | ||||
* | Remove unused functions from rebar_file_utils | Juhani Rankimies | 2010-10-27 | 1 | -16/+0 |
| | | | | mkdir_p/1 and ln_sf/2. | ||||
* | Added vi modeline/emacs local variables to file headers | Tuncer Ayaz | 2009-12-31 | 1 | -0/+2 |
| | |||||
* | Deleted trailing whitespace | Tuncer Ayaz | 2009-12-30 | 1 | -1/+1 |
| | |||||
* | Fixing number of warnings and buglets | Dave Smith | 2009-12-14 | 1 | -1/+1 |
| |