summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
| * | purge loaded code when it conflicts with project apps in testsTristan Sloughter2015-05-183-4/+23
| |/
* | Merge pull request #441 from tsloughter/global_pluginsFred Hebert2015-05-196-19/+39
|\ \ | | | | | | install plugins from the global config to ~/.cache/plugins
| * | install plugins from the global config to ~/.cache/pluginsTristan Sloughter2015-05-176-19/+39
| | |
* | | io_lib:format/2 will throw badarg when trying to print ↵Stefan Grundmann2015-05-191-1/+1
| |/ |/| | | | | rebar_resource:resource() as string
* | Merge pull request #439 from talentdeficit/extra_src_dirsTristan Sloughter2015-05-174-49/+41
|\ \ | | | | | | generalize the "test" special dir into an {extra_src_dirs, [...]} option
| * | generalize the "test" special dir into an {extra_src_dirs, [...]} optionalisdair sullivan2015-05-164-49/+41
| |/ | | | | | | | | | | like `src_dirs`, `extra_src_dirs` are directories to be copied to the `_build` dir and compiled. unlike `src_dirs` they are not added to the .app specification
* | remove use of `code:load_abs/1` in favor of `beam_lib:chunks/2` toalisdair sullivan2015-05-161-8/+14
|/ | | | avoid repeated loading and unloading of modules
* Merge pull request #432 from soranoba/edoclet-in-depsTristan Sloughter2015-05-151-1/+3
|\ | | | | be able to use the specified edoclet in deps
| * be able to use the specified edoclet in depssoranoba2015-05-161-1/+3
| |
* | fix usage string in rebar_prv_unlockStefan Grundmann2015-05-151-1/+1
| |
* | Proper custom pkg index support, some testsFred Hebert2015-05-134-26/+25
| | | | | | | | | | | | | | | | | | | | - The rebar package index files have been moved off the default path and will require a new `rebar3 update` - Caching of downloaded packages automatically takes place in a path relative to the CDN used - The cache path is not shared with hex as we now write and modify data in there arbitrarily - Basic tests plus the working set for more of them is included
* | add bad_download errorTristan Sloughter2015-05-122-1/+3
| |