Tristan Sloughter
20f4562c6d
fix for plugin installation and code paths
hace 10 años
Fred Hebert
084d680cc5
Merge pull request #477 from tsloughter/relx_profiles
reverse relx config so profile settings are used properly
hace 10 años
Tristan Sloughter
8687ddc14a
reverse relx config so profile settings are used properly
hace 10 años
Fred Hebert
51e822e54c
Add a shell agent
The shell agent allows to run rebar3 commands and autoload compiled
modules when that is done.
hace 10 años
Tristan Sloughter
fe181f950d
Merge pull request #461 from erocci/master
Add excluded_apps rebar.config keyword
hace 10 años
Jean Parpaillon
7ff23a63dc
Add rebar.config 'excluded_apps' key.
Listed applications are simply ignored.
Allows for configuration time sub-application building.
hace 10 años
Tristan Sloughter
d9bad34506
Merge pull request #472 from tsloughter/refactor_hooks
move handling of undefined app state to function
hace 10 años
Fred Hebert
fb160ebf71
Adding app auto-boot to rebar shell
- 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.
hace 10 años
Tristan Sloughter
8a50331898
move handling of undefined app state to function
hace 10 años
Fred Hebert
b4786b804c
Merge pull request #471 from tsloughter/master
fall back to .app.src file if .app file fails to parse
hace 10 años
Tristan Sloughter
e45c67b023
add additional comments
hace 10 años
Tristan Sloughter
f772dcee2e
fix storing of pkg and src deps in app_info
hace 10 años
Tristan Sloughter
37ac2b7833
read in app information after fetch so we have the deps
hace 10 años
Tristan Sloughter
958213def7
fall back to .app.src file if .app file fails to parse
hace 10 años
Fred Hebert
5f577e2ab1
Merge pull request #470 from tsloughter/master
print and format error message for bad .app files and all bad configs
hace 10 años
Tristan Sloughter
476a80c33e
format file read error in otp_app module
hace 10 años
Tristan Sloughter
be79d41093
have .app.src take precedence over .app file
hace 10 años
Tristan Sloughter
8ad6939939
improve error message fo rmissing app or app.src file
hace 10 años
Tristan Sloughter
8528204431
print and format error message for bad .app files and all bad configs
hace 10 años
Tristan Sloughter
b7acb56f47
Merge pull request #469 from kovyl2404/show-stacktrace
Show stacktrace to errors caught in rebar3 module.
hace 10 años
Viacheslav Kovalev
c2c1079ba2
Show stacktrace to errors caught in rebar3 module.
hace 10 años
Fred Hebert
53552d3f77
Merge pull request #466 from tsloughter/clean_hooks
only run clean hooks once
hace 10 años
Tristan Sloughter
42339f62f3
only run clean hooks once
hace 10 años
Fred Hebert
69ae48e8f1
Merge pull request #458 from tsloughter/run_plugin_hooks
run hooks when building plugins
hace 10 años
Tristan Sloughter
3827363288
Merge pull request #465 from tsloughter/global_providers
don't lose global plugin providers
hace 10 años
Tristan Sloughter
fdc1267f67
start httpc in run/1 so it is available to download global plugins
hace 10 años
Tristan Sloughter
0bd49634ce
don't lose global plugin providers
hace 10 años
Tristan Sloughter
e65ad8c2ca
run hooks when building plugins
hace 10 años
Tristan Sloughter
62c9c66182
Merge pull request #456 from kovyl2404/provider-hooks-namespaces-fix
Properly setup namespace for dependency provider hooks
hace 10 años
Fred Hebert
510f4596ce
Merge pull request #464 from tsloughter/completions
make deps task listed in help and update zsh/bash completions
hace 10 años
Fred Hebert
f8c29be458
Merge pull request #463 from tsloughter/windows
add Windows build badge
hace 10 años
Tristan Sloughter
76893ca4b9
make deps task listed in help and update zsh/bash completions
hace 10 años
Tristan Sloughter
6144ee67a7
add Windows build badge
hace 10 años
Viacheslav Kovalev
49d977c2b8
Initialize namespace in rebar_state with default value.
hace 10 años
Fred Hebert
1c6aafeb84
Merge pull request #453 from tsloughter/needs_update
Update deps if their checkout doesn't match lock entry
hace 10 años
Tristan Sloughter
9cfef9c011
only update, when not in explicit upgrade, locks if out of date
hace 10 años
Tristan Sloughter
dc3afe96c6
update stable_lock test from Fred's branch
hace 10 años
Fred Hebert
166d5a9d09
Add tests for lock forwarding
Lock forwarding is what happens when the file on disk are on a different
version from what is specified in the lock file. Files on disk should be
updated to respect what's in the lock file.
A negative test has been added so that lock files that are outdated vis.
the underlying git and packages but match files on disk do not get
forwarded. This job is left to the `upgrade' command.
hace 10 años
Tristan Sloughter
35166b5f1a
parsing deps of a dep should be done at the dep's level + 1
hace 10 años
Tristan Sloughter
b34cc49924
always upgrade if needs_update is true
hace 10 años
Fred Hebert
d91c37ed5c
Merge pull request #443 from kovyl2404/singleapp-project-duplicated-hook
Run hooks for single application only once.
hace 10 años
Viacheslav V. Kovalev
efd2445c74
Properly reset hooks for single-app project
hace 10 años
Tristan Sloughter
ab1d264557
Merge pull request #457 from talentdeficit/extra_src_dirs_ct
don't add `{extra_src_dirs, ["test"]}` to `test` profile
hace 10 años
alisdair sullivan
b06a6ecadd
don't add `{extra_src_dirs, ["test"]}` to `test` profile
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
hace 10 años
Tristan Sloughter
3237069567
Merge pull request #455 from kovyl2404/init-command-parsed-args
Properly initialize command parsed args in rebar state
hace 10 años
Tristan Sloughter
41f31f608d
Merge pull request #451 from talentdeficit/all_src_dirs
methods for retrieving `src_dirs` and `extra_src_dirs`
hace 10 años
Viacheslav V. Kovalev
549aaf770f
Properly initialize command parsed args in rebar state
hace 10 años
Fred Hebert
ff071a8df1
Merge pull request #454 from tsloughter/readme_source
update readme building instructions to prefer source
hace 10 años
Tristan Sloughter
7dce68264b
update readme building instructions to prefer source
hace 10 años
Tristan Sloughter
8c6af888b2
Merge pull request #442 from tsloughter/tests_replace_paths
purge loaded code when it conflicts with project apps in tests
hace 10 años