summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #473 from ferd/improve-shellTristan Sloughter2015-05-304-36/+238
|\ \ | |/ | | improve the rebar3 shell
| * Optionally allow node names to the rebar3 shell.Fred Hebert2015-05-301-12/+30
| | | | | | | | | | Helps with integration efforts, but unfortunately can't support the '-sname' and '-name' options, only '--sname' and '--name'.
| * Fix config loading in shellFred Hebert2015-05-301-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Config files from the command line would expect the wrong format: {app1, [...]}. {app2, [...]}. Instead of the correct sys.config format: [{app1, [...]}, {app2, [...]}] Not supported yet: the recursive file references documented in http://www.erlang.org/doc/man/config.html
| * Add support to boot apps from releases in shellFred Hebert2015-05-291-1/+14
| | | | | | | | Precedence still goes to shell_apps.
| * Get prebooted apps to acknowledge sys.configFred Hebert2015-05-291-3/+16
| | | | | | | | | | Change the order from load-config -> start-apps to load-apps -> load-config -> start-apps
| * Display experimental warningFred Hebert2015-05-291-4/+12
| | | | | | | | The feature may still be modified in the future.
| * Rebar agent reloads the config file on every runFred Hebert2015-05-282-35/+68
| | | | | | | | | | This allows proper checking of new configurations, deps, or plugins, and makes sure they are detected during an active shell session.
| * 'do' returns its final state.Fred Hebert2015-05-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | While 'do' skips state updates between subcommands so that: rebar3 do a, b == (rebar3 a && rebar3 b) The final state of 'b' does not need to be discarded and might in fact be useful to get when dealing with Rebar3 as an API. This can be done without breaking the equality relation already established.
| * Add a shell agentFred Hebert2015-05-263-10/+92
| | | | | | | | | | The shell agent allows to run rebar3 commands and autoload compiled modules when that is done.
| * Adding app auto-boot to rebar shellFred Hebert2015-05-231-35/+63
| | | | | | | | | | | | | | | | | | | | - moved path addition, config loading and app boot to before the shell is available - apps successfully booting are in an INFO message, failed to boot into an ERROR message - A warning is printed when apps are booted informing to please use releases for actual deployment, and is omitted otherwise. - Some minor refactorings otherwise.
* | Merge pull request #474 from tsloughter/fix_plugin_installTristan Sloughter2015-05-297-27/+105
|\ \ | | | | | | fixing plugin install and paths
| * | add comment explaining installing each plugin individuallyTristan Sloughter2015-05-291-0/+1
| | |
| * | store plugin providers in app_info's state for depsTristan Sloughter2015-05-284-9/+28
| | |
| * | fix for plugin installation and code pathsTristan Sloughter2015-05-276-19/+77
| | |
* | | Merge pull request #481 from ferd/fix-atom-pkg-upgradeTristan Sloughter2015-05-281-6/+15
|\ \ \ | |/ / |/| | Fix upgrade of atom-only packages
| * | Fix upgrade of atom-only packagesFred Hebert2015-05-281-6/+15
| |/ | | | | | | they would always be left unfound otherwise.
* | reverse relx config so profile settings are used properlyTristan Sloughter2015-05-261-1/+1
| |
* | Add rebar.config 'excluded_apps' key.Jean Parpaillon2015-05-231-7/+20
| | | | | | | | | | | | Listed applications are simply ignored. Allows for configuration time sub-application building.
* | move handling of undefined app state to functionTristan Sloughter2015-05-224-25/+12
|/
* add additional commentsTristan Sloughter2015-05-223-0/+9
|
* fix storing of pkg and src deps in app_infoTristan Sloughter2015-05-222-6/+5
|
* read in app information after fetch so we have the depsTristan Sloughter2015-05-222-6/+8
|
* fall back to .app.src file if .app file fails to parseTristan Sloughter2015-05-221-53/+58
|
* format file read error in otp_app moduleTristan Sloughter2015-05-221-1/+1
|
* have .app.src take precedence over .app fileTristan Sloughter2015-05-221-7/+15
|
* improve error message fo rmissing app or app.src fileTristan Sloughter2015-05-221-5/+5
|
* print and format error message for bad .app files and all bad configsTristan Sloughter2015-05-227-58/+51
|
* Merge pull request #469 from kovyl2404/show-stacktraceTristan Sloughter2015-05-221-0/+5
|\ | | | | Show stacktrace to errors caught in rebar3 module.
| * Show stacktrace to errors caught in rebar3 module.Viacheslav Kovalev2015-05-221-0/+5
| |
* | only run clean hooks onceTristan Sloughter2015-05-211-2/+7
|/
* Merge pull request #458 from tsloughter/run_plugin_hooksFred Hebert2015-05-212-9/+8
|\ | | | | run hooks when building plugins
| * run hooks when building pluginsTristan Sloughter2015-05-212-9/+8
| |
* | Merge pull request #465 from tsloughter/global_providersTristan Sloughter2015-05-212-16/+18
|\ \ | |/ |/| don't lose global plugin providers
| * start httpc in run/1 so it is available to download global pluginsTristan Sloughter2015-05-211-12/+14
| |
| * don't lose global plugin providersTristan Sloughter2015-05-212-4/+4
| |
* | Merge pull request #456 from kovyl2404/provider-hooks-namespaces-fixTristan Sloughter2015-05-211-1/+1
|\ \ | |/ |/| Properly setup namespace for dependency provider hooks
| * Initialize namespace in rebar_state with default value.Viacheslav Kovalev2015-05-221-1/+1
| |
* | make deps task listed in help and update zsh/bash completionsTristan Sloughter2015-05-211-1/+1
| |
* | only update, when not in explicit upgrade, locks if out of dateTristan Sloughter2015-05-212-56/+78
| |
* | parsing deps of a dep should be done at the dep's level + 1Tristan Sloughter2015-05-211-1/+1
| |
* | always upgrade if needs_update is trueTristan Sloughter2015-05-211-7/+9
|/
* Merge pull request #443 from kovyl2404/singleapp-project-duplicated-hookFred Hebert2015-05-212-3/+3
|\ | | | | Run hooks for single application only once.
| * Properly reset hooks for single-app projectViacheslav V. Kovalev2015-05-212-3/+3
| |
* | Merge pull request #457 from talentdeficit/extra_src_dirs_ctTristan Sloughter2015-05-203-23/+55
|\ \ | | | | | | don't add `{extra_src_dirs, ["test"]}` to `test` profile
| * | don't add `{extra_src_dirs, ["test"]}` to `test` profilealisdair sullivan2015-05-203-23/+55
| | | | | | | | | | | | | | | | | | adding it results in ct test suites being compiled before they're properly copied so changes made to suites between runs are not reflected if a run fails before test dirs are copied
* | | Merge pull request #455 from kovyl2404/init-command-parsed-argsTristan Sloughter2015-05-201-1/+1
|\ \ \ | |/ / |/| | Properly initialize command parsed args in rebar state
| * | Properly initialize command parsed args in rebar stateViacheslav V. Kovalev2015-05-201-1/+1
| | |
* | | Merge pull request #451 from talentdeficit/all_src_dirsTristan Sloughter2015-05-204-9/+40
|\ \ \ | |/ / |/| | methods for retrieving `src_dirs` and `extra_src_dirs`
| * | methods for retrieving `src_dirs` and `extra_src_dirs`alisdair sullivan2015-05-194-9/+40
| | | | | | | | | | | | | | | | | | note that now ALL `src_dirs` across included profiles are compiled. previously only the last included profile's `src_dirs` were used
* | | Merge pull request #442 from tsloughter/tests_replace_pathsTristan Sloughter2015-05-203-4/+23
|\ \ \ | |/ / |/| | purge loaded code when it conflicts with project apps in tests