Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make lock files future-proof | Fred Hebert | 2016-02-16 | 1 | -2/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Changes to how hex or packages may work in the future will necessarily bring changes to the format of lock files. This commit adds an optional framing for future lock files of the form: {Version, LockList}. <Whatever consultable attributes> This format is supported such as the LockList is the current lockfile contents, and will never have more information than it currently does. Attributes can be whatever and are currently undefined. Rebar copies will be able to: - Keep using the core locklist (which avoids breaking the last year or so of community libraries using rebar3) - Warn when it runs an outdated copy in comparison to the lock file - Automatically rewrite lock files in the format it supports - Augment or parse files in a version-specific manner. This changes the usage interface slightly, but is backwards *and* forwards compatible. | ||||
* | handle newly added deps to config even when lock is empty | Tristan Sloughter | 2015-09-24 | 1 | -3/+0 |
| | |||||
* | Fix consult_and_eval/2 to behave like consult | Heinz N. Gies | 2015-09-20 | 1 | -1/+15 |
| | |||||
* | Terms is already a list | Garret Smith | 2015-09-11 | 1 | -1/+1 |
| | | | | Fixes compiling yaws, which has an .app.src.script file | ||||
* | support pkg attribute on dep to declare package name different from app name | Tristan Sloughter | 2015-08-23 | 1 | -0/+9 |
| | |||||
* | add tree option to deps command that prints pkg deps tree | Tristan Sloughter | 2015-08-03 | 1 | -13/+23 |
| | |||||
* | include app.src.script in app discover and always use if available | Tristan Sloughter | 2015-07-26 | 1 | -1/+2 |
| | |||||
* | check format of config file and print the bad section in the error | Tristan Sloughter | 2015-06-18 | 1 | -3/+26 |
| | |||||
* | print and format error message for bad .app files and all bad configs | Tristan Sloughter | 2015-05-22 | 1 | -12/+2 |
| | |||||
* | merge_locks crashed if a config didn't have a deps entry | Tristan Sloughter | 2015-04-23 | 1 | -1/+1 |
| | |||||
* | real bootstrapping | Tristan Sloughter | 2015-04-22 | 1 | -1/+0 |
| | |||||
* | clean ups from Fred's comments | Tristan Sloughter | 2015-04-11 | 1 | -2/+2 |
| | |||||
* | error on dep name that isn't an atom | Tristan Sloughter | 2015-04-11 | 1 | -4/+11 |
| | |||||
* | support single atoms for pkg deps, fetch highest version available | Tristan Sloughter | 2015-04-11 | 1 | -18/+22 |
| | |||||
* | Fix lock merging for nonexistant lock files. | Fred Hebert | 2015-02-23 | 1 | -0/+5 |
| | |||||
* | don't attempt to merge locks when there are no dependencies | alisdair sullivan | 2015-02-22 | 1 | -1/+1 |
| | | | | fixes #172 | ||||
* | consolidate app validation and exist checks | Tristan Sloughter | 2015-02-22 | 1 | -1/+1 |
| | |||||
* | check for newly added deps in config file that aren't level 0 in the lock | Tristan Sloughter | 2015-02-19 | 1 | -1/+36 |
| | |||||
* | handle throw by relx | Tristan Sloughter | 2014-11-08 | 1 | -3/+3 |
| | |||||
* | split options up by task | Tristan Sloughter | 2014-10-10 | 1 | -1/+0 |
| | |||||
* | slowly widdling away at dialyzer errors | Tristan Sloughter | 2014-09-20 | 1 | -2/+2 |
| | |||||
* | start of moving to splitting state from config parsing | Tristan Sloughter | 2014-08-17 | 1 | -259/+12 |
| | |||||
* | add rebar update provider | Tristan Sloughter | 2014-08-16 | 1 | -1/+9 |
| | |||||
* | replace logging with ec_cmd_log from erlware_commons | Tristan Sloughter | 2014-08-16 | 1 | -2/+2 |
| | |||||
* | large refactoring | Tristan Sloughter | 2014-08-16 | 1 | -39/+109 |
| | | | | | | | | Removed separate compilers Resolves apps to build Finds avail deps before pulling/building Includes relx Simplifies build commands | ||||
* | Use correct types for OTP >=17.x | Tuncer Ayaz | 2014-06-29 | 1 | -1/+1 |
| | |||||
* | Fix a few minor formatting inconsistencies | Tuncer Ayaz | 2014-06-29 | 1 | -2/+2 |
| | | | | | * fix overlong lines * where appropriate use %% instead of % | ||||
* | Fix build for 17.0 using the solutiong proposed by @tsloughter | Matwey V. Kornilov | 2014-06-08 | 1 | -4/+12 |
| | | | | We use namespaced_types option to choose between dict() and dict:dict() types. | ||||
* | Fix #56 (always-on recursion) | Tuncer Ayaz | 2014-03-11 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | Always-on recursive application of all rebar commands causes too many issues. Recursive application is required for: 1. dealing with dependencies: get-deps, update-deps, and compile of deps right after get-deps or update-deps 2. projects with a riak-like apps/ project structure and dev process The vast majority of projects are not structured like riak. Therefore, moving forward it's best to (by default) restrict recursive behavior to dealing with deps. This commit does that and also adds command line and rebar.config options for controlling or configuring recursion. Also, we introduce two meta commands: prepare-deps (equivalent to rebar -r get-deps compile) and refresh-deps (equivalent to rebar -r update-deps compile). riak-like projects can extend the list of recursive commands (to include 'eunit' and 'compile') by adding {recursive_cmds, [eunit, compile]} to rebar.config. | ||||
* | Fix is_verbose/1 helper function | Tuncer Ayaz | 2013-12-06 | 1 | -5/+0 |
| | |||||
* | rebar_config:is_verbose/0: fix variable name | Tuncer Ayaz | 2013-12-06 | 1 | -2/+2 |
| | |||||
* | Remove two comments | Tuncer Ayaz | 2012-08-04 | 1 | -2/+0 |
| | |||||
* | Refactor setup_env rebar_config funs | Tuncer Ayaz | 2012-08-04 | 1 | -5/+4 |
| | |||||
* | Do not use application:set_env | Tuncer Ayaz | 2012-07-23 | 1 | -26/+35 |
| | |||||
* | Document rebar_config TODOs | Tuncer Ayaz | 2012-07-13 | 1 | -0/+2 |
| | |||||
* | Make sure cached setup_envs are reset | Tuncer Ayaz | 2012-07-13 | 1 | -1/+4 |
| | |||||
* | Remove shared state | Tuncer Ayaz | 2012-07-13 | 1 | -36/+82 |
| | |||||
* | Use dict() instead of proplist() for shared env | Tuncer Ayaz | 2012-04-23 | 1 | -9/+6 |
| | |||||
* | Use correct value for file:script SCRIPT binding | Ulf Wiger | 2012-04-17 | 1 | -1/+1 |
| | |||||
* | Remove gratuitous blank line | Tuncer Ayaz | 2012-04-17 | 1 | -1/+0 |
| | |||||
* | Fix file:script support | Ulf Wiger | 2012-04-17 | 1 | -1/+1 |
| | |||||
* | Add support for target-specific port options | Tuncer Ayaz | 2012-04-16 | 1 | -5/+20 |
| | | | | {port_specs, [{".*", "priv/foo.so", ["c_src/foo.c"], [{env, []}]}]}. | ||||
* | Use file:script if a .config.script file present | Ulf Wiger | 2012-04-16 | 1 | -4/+41 |
| | |||||
* | Support different log levels | Tuncer Ayaz | 2012-01-17 | 1 | -2/+3 |
| | |||||
* | Respect the --config switch when given | Tim Watson | 2011-08-18 | 1 | -12/+9 |
| | | | | | | | | Currently the --config switch does not work because when loading a new rebar config the global setting is ignored for all paths. This patch provides a check when loading new rebar config to see whether or not the current config path matches the `base_dir` set in global conf, which produces the expected behaviour. | ||||
* | Apply Tidier suggestions | Tuncer Ayaz | 2011-07-18 | 1 | -3/+3 |
| | |||||
* | Add support for $HOME/.rebar/config | Tuncer Ayaz | 2011-07-06 | 1 | -2/+14 |
| | |||||
* | Clean up specs | Tuncer Ayaz | 2011-03-28 | 1 | -0/+8 |
| | |||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Fix code clarity | Tuncer Ayaz | 2011-01-13 | 1 | -15/+18 |
| |