summaryrefslogtreecommitdiff
path: root/src/rebar_config.erl
Commit message (Collapse)AuthorAgeFilesLines
* Make lock files future-proofFred Hebert2016-02-161-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 emptyTristan Sloughter2015-09-241-3/+0
|
* Fix consult_and_eval/2 to behave like consultHeinz N. Gies2015-09-201-1/+15
|
* Terms is already a listGarret Smith2015-09-111-1/+1
| | | | Fixes compiling yaws, which has an .app.src.script file
* support pkg attribute on dep to declare package name different from app nameTristan Sloughter2015-08-231-0/+9
|
* add tree option to deps command that prints pkg deps treeTristan Sloughter2015-08-031-13/+23
|
* include app.src.script in app discover and always use if availableTristan Sloughter2015-07-261-1/+2
|
* check format of config file and print the bad section in the errorTristan Sloughter2015-06-181-3/+26
|
* print and format error message for bad .app files and all bad configsTristan Sloughter2015-05-221-12/+2
|
* merge_locks crashed if a config didn't have a deps entryTristan Sloughter2015-04-231-1/+1
|
* real bootstrappingTristan Sloughter2015-04-221-1/+0
|
* clean ups from Fred's commentsTristan Sloughter2015-04-111-2/+2
|
* error on dep name that isn't an atomTristan Sloughter2015-04-111-4/+11
|
* support single atoms for pkg deps, fetch highest version availableTristan Sloughter2015-04-111-18/+22
|
* Fix lock merging for nonexistant lock files.Fred Hebert2015-02-231-0/+5
|
* don't attempt to merge locks when there are no dependenciesalisdair sullivan2015-02-221-1/+1
| | | | fixes #172
* consolidate app validation and exist checksTristan Sloughter2015-02-221-1/+1
|
* check for newly added deps in config file that aren't level 0 in the lockTristan Sloughter2015-02-191-1/+36
|
* handle throw by relxTristan Sloughter2014-11-081-3/+3
|
* split options up by taskTristan Sloughter2014-10-101-1/+0
|
* slowly widdling away at dialyzer errorsTristan Sloughter2014-09-201-2/+2
|
* start of moving to splitting state from config parsingTristan Sloughter2014-08-171-259/+12
|
* add rebar update providerTristan Sloughter2014-08-161-1/+9
|
* replace logging with ec_cmd_log from erlware_commonsTristan Sloughter2014-08-161-2/+2
|
* large refactoringTristan Sloughter2014-08-161-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.xTuncer Ayaz2014-06-291-1/+1
|
* Fix a few minor formatting inconsistenciesTuncer Ayaz2014-06-291-2/+2
| | | | | * fix overlong lines * where appropriate use %% instead of %
* Fix build for 17.0 using the solutiong proposed by @tsloughterMatwey V. Kornilov2014-06-081-4/+12
| | | | We use namespaced_types option to choose between dict() and dict:dict() types.
* Fix #56 (always-on recursion)Tuncer Ayaz2014-03-111-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 functionTuncer Ayaz2013-12-061-5/+0
|
* rebar_config:is_verbose/0: fix variable nameTuncer Ayaz2013-12-061-2/+2
|
* Remove two commentsTuncer Ayaz2012-08-041-2/+0
|
* Refactor setup_env rebar_config funsTuncer Ayaz2012-08-041-5/+4
|
* Do not use application:set_envTuncer Ayaz2012-07-231-26/+35
|
* Document rebar_config TODOsTuncer Ayaz2012-07-131-0/+2
|
* Make sure cached setup_envs are resetTuncer Ayaz2012-07-131-1/+4
|
* Remove shared stateTuncer Ayaz2012-07-131-36/+82
|
* Use dict() instead of proplist() for shared envTuncer Ayaz2012-04-231-9/+6
|
* Use correct value for file:script SCRIPT bindingUlf Wiger2012-04-171-1/+1
|
* Remove gratuitous blank lineTuncer Ayaz2012-04-171-1/+0
|
* Fix file:script supportUlf Wiger2012-04-171-1/+1
|
* Add support for target-specific port optionsTuncer Ayaz2012-04-161-5/+20
| | | | {port_specs, [{".*", "priv/foo.so", ["c_src/foo.c"], [{env, []}]}]}.
* Use file:script if a .config.script file presentUlf Wiger2012-04-161-4/+41
|
* Support different log levelsTuncer Ayaz2012-01-171-2/+3
|
* Respect the --config switch when givenTim Watson2011-08-181-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 suggestionsTuncer Ayaz2011-07-181-3/+3
|
* Add support for $HOME/.rebar/configTuncer Ayaz2011-07-061-2/+14
|
* Clean up specsTuncer Ayaz2011-03-281-0/+8
|
* Clean up emacs file local variablesTuncer Ayaz2011-01-311-1/+1
|
* Fix code clarityTuncer Ayaz2011-01-131-15/+18
|