Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Don't badmatch if a path we think we added isn't in the code path | Andrew Thompson | 2013-10-17 | 1 | -1/+1 | |
| | | ||||||
* | | Don't over-aggressively clean the code path in the presence of lib_dir ↵ | Andrew Thompson | 2013-10-16 | 1 | -4/+5 | |
|/ | | | | | | | | | | | | | | | | | | | | | | | directives Rebar, when it encounters a lib_dir directive, caches the current code path, adds the libdir(s) and returns the cached copy of the path. When rebar has finished processing that directory, it restores the cached path. This is problematic in the below scenario: /(lib_dir)->G A -> B -> C -> D -> E \-> F -> D -> E When rebar is finished processing B, it restores the code path to what it was before it processed B, removing C, D, E and G from the code path. This means when it comes to process F, neither D or E are in the code path, so any header includes, rebar plugins or parse transforms will not be in the code path. Without the lib_dir directive, rebar does no code path cleanups, so everything works fine. This change makes rebar only remove the explicit lib_dir code paths it added and adds an inttest that replicates the above scenario. | |||||
* | Address review comments and add inttest for update-deps | Andrew Thompson | 2013-09-30 | 1 | -2/+2 | |
| | ||||||
* | Make update-deps honor apps= and skip_apps= | Andrew Thompson | 2013-09-23 | 1 | -0/+7 | |
| | | | | | | | | | | | | Because rebar_core handles skipping apps, we had to specialcase the handling in the case of update-deps because it has to do its own dep handling. The way this was done is not particularly clean, but there currently does not exist another way for a command to signal rebar_core that it doesn't want rebar_core to pay attention to skip_apps. With this change, however, you can update-deps even with local conflicting changes/commits by simply skipping the deps you don't wish to update, or whitelisting he ones you do wish to update. | |||||
* | Make update-deps traverse deps breadth-first, top-down | Andrew Thompson | 2013-09-20 | 1 | -1/+2 | |
| | | | | | | | | | | | | This ensures that deps of deps are updated AFTER the dep listing them is, so that a complicated project with many layers of deps will be updated correctly. Any new deps encountered along the way are also cloned, and THEIR deps are also evaluated. Also added was conflict detection, if a dep has differing versions or source information, inherited from different places, that will be logged at the end of update-deps, along with the origin of each conflicting dep. | |||||
* | rebar_core: fix consistency issues caused by 252b31f | Tuncer Ayaz | 2013-06-24 | 1 | -16/+22 | |
| | | | | | | | - refactor plugin dirs code to be simpler and easier to read - use erlang-mode's default (%%) comments for portability/consistency - make sure erlang-mode's indenter is used so that a future whole buffer indent doesn't get messed up | |||||
* | When expanding lib_dirs, don't crash with 'volumerelative' paths | Juan Jose Comellas | 2013-06-18 | 1 | -1/+1 | |
| | ||||||
* | Allow the use of absolute paths in the lib_dirs configuration setting | Juan Jose Comellas | 2013-06-18 | 1 | -1/+4 | |
| | ||||||
* | Fix searching for plugins | Motiejus Jakštys | 2013-05-19 | 1 | -17/+23 | |
| | | | | | If a plugin is in a dependency, rebar didn't search for it carefully enough. | |||||
* | Fix missing call to cwd_predirs | Dave Smith | 2013-03-02 | 1 | -2/+2 | |
| | ||||||
* | rebar_core: fix broken indentation | Tuncer Ayaz | 2013-02-26 | 1 | -6/+6 | |
| | ||||||
* | rebar_core: remove useless return after ?ABORT call | Tuncer Ayaz | 2013-02-26 | 1 | -2/+1 | |
| | ||||||
* | rebar_core: document pre-dirs association | Tuncer Ayaz | 2013-02-26 | 1 | -16/+17 | |
| | ||||||
* | Implement 'rebar help CMD1 CMD2' and extend common 'rebar help' msg | Tuncer Ayaz | 2012-12-31 | 1 | -1/+30 | |
| | | | | | * allow plugins to print help message for implemented commands * append core rebar.config options to common 'rebar help' message | |||||
* | Cleanup rebar_core and rebar_erlc_compiler | Tuncer Ayaz | 2012-11-15 | 1 | -15/+16 | |
| | | | | | Rename rebar_core functions for improved readability. Remove redundant comments and blank lines. | |||||
* | Fix rebar_core:restore_code_path (Reported-by: Siri Hansen) | Tuncer Ayaz | 2012-08-09 | 1 | -1/+3 | |
| | | | | | Use erl_prim_loader:read_file_info instead of filelib:is_file to make sure paths inside the escript archive are handled properly. | |||||
* | Only print absolute filename if not in base_dir | Tuncer Ayaz | 2012-08-05 | 1 | -4/+1 | |
| | ||||||
* | Refactor setup_env rebar_config funs | Tuncer Ayaz | 2012-08-04 | 1 | -5/+5 | |
| | ||||||
* | Fix R13B03 build (Reported-by: Sergey Nartimov) | Tuncer Ayaz | 2012-07-28 | 1 | -4/+4 | |
| | ||||||
* | Do not use application:set_env | Tuncer Ayaz | 2012-07-23 | 1 | -10/+9 | |
| | ||||||
* | Document rebar_config TODOs | Tuncer Ayaz | 2012-07-13 | 1 | -0/+1 | |
| | ||||||
* | Make sure cached setup_envs are reset | Tuncer Ayaz | 2012-07-13 | 1 | -3/+7 | |
| | ||||||
* | Remove shared state | Tuncer Ayaz | 2012-07-13 | 1 | -129/+114 | |
| | ||||||
* | Manually report errors/warnings with absolute path | Tuncer Ayaz | 2012-06-11 | 1 | -22/+2 | |
| | ||||||
* | Fix whitespace errors | Tuncer Ayaz | 2012-06-08 | 1 | -6/+10 | |
| | ||||||
* | Introduce -k flag | Dave Smith | 2012-06-08 | 1 | -23/+39 | |
| | ||||||
* | Remove ?FAIL in favor of ?ABORT | Dave Smith | 2012-06-08 | 1 | -2/+2 | |
| | ||||||
* | Simplify and fix check if enter/leaving should be printed | Tuncer Ayaz | 2012-05-18 | 1 | -6/+1 | |
| | ||||||
* | Do not print entering/leaving message if skip_dir | Tuncer Ayaz | 2012-05-18 | 1 | -6/+13 | |
| | ||||||
* | Add support for target-specific port options | Tuncer Ayaz | 2012-04-16 | 1 | -34/+44 | |
| | | | | {port_specs, [{".*", "priv/foo.so", ["c_src/foo.c"], [{env, []}]}]}. | |||||
* | Fix typo in comment (thanks Michael Santos) | Tuncer Ayaz | 2012-04-16 | 1 | -1/+1 | |
| | ||||||
* | Fix #197 by printing 'Entering/Leaving directory' | Tuncer Ayaz | 2012-04-03 | 1 | -3/+19 | |
| | ||||||
* | Make error message more descriptive | Tuncer Ayaz | 2012-03-31 | 1 | -1/+3 | |
| | ||||||
* | Fix loading of local plugins in sub directories | Tuncer Ayaz | 2012-02-03 | 1 | -13/+38 | |
| | ||||||
* | Cache vsn info to avoid expensive vcs cmd calls | Yurii Rashkovskii | 2012-02-02 | 1 | -0/+3 | |
| | ||||||
* | Check for .app.src first | Tuncer Ayaz | 2012-01-13 | 1 | -2/+2 | |
| | ||||||
* | Fix code clarity in dir type check | Tuncer Ayaz | 2012-01-13 | 1 | -9/+5 | |
| | ||||||
* | Fix rebar_core crash (reported-by: Jeremy Raymond) | Tuncer Ayaz | 2011-12-18 | 1 | -17/+24 | |
| | ||||||
* | Universally support apps=/skip_apps= | Tuncer Ayaz | 2011-12-12 | 1 | -61/+94 | |
| | ||||||
* | Add support for arch-specific hooks | Tuncer Ayaz | 2011-12-05 | 1 | -1/+10 | |
| | | | | | {pre_hooks, [{"linux", compile, "c_src/build_linux.sh"}]}. {post_hooks, [{"linux", compile, "c_src/build_linux.sh clean"}]}. | |||||
* | Allow plugins to participate in pre and post processing | Tim Watson | 2011-10-20 | 1 | -8/+14 | |
| | | | | | | This patch modifies rebar_core to allow plugins to participate in the pre and post processing steps, giving plugin authors more flexibility and control. | |||||
* | Fix config handling in root_dir | Tim Watson | 2011-10-05 | 1 | -1/+12 | |
| | | | | | Avoid overwriting custom config (passed with -C) when we are processing the base_dir in rebar_core. | |||||
* | Fix missing plugin warnings | Tim Watson | 2011-09-20 | 1 | -1/+1 | |
| | | | | | | This patch fixes the warning logging when the number of missing plugins is greater than one. The current code only works by accident, when a single plugin is all that is missing. | |||||
* | Search plugin sources in base_dir and plugin_dir | Tuncer Ayaz | 2011-08-29 | 1 | -3/+7 | |
| | ||||||
* | Only compile relevant plugin sources | Tuncer Ayaz | 2011-08-29 | 1 | -1/+7 | |
| | ||||||
* | Simplify check for empty list | Tuncer Ayaz | 2011-08-29 | 1 | -1/+1 | |
| | ||||||
* | Load plugins dynamically from source | Tim Watson | 2011-08-29 | 1 | -5/+49 | |
| | | | | | | | | | This patch updates rebar_core to look for missing plugins (i.e. those that aren't found on the code path at runtime) in a configurable plugin directory, and dynamically compile and load them at runtime. By default, the directory "plugins" is searched, although this can be overriden by setting the plugin_dir in your rebar.config. | |||||
* | Log a more descriptive message | Tuncer Ayaz | 2011-08-23 | 1 | -1/+2 | |
| | ||||||
* | Rename rebar_plugins to plugins for consistency | Tuncer Ayaz | 2011-08-16 | 1 | -1/+1 | |
| | ||||||
* | Do not warn if pre_/post_ cmd is not available | Tuncer Ayaz | 2011-07-08 | 1 | -2/+9 | |
| |