Fred Hebert
2fabfe1ee8
'do' returns its final state.
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.
10 年前
Tristan Sloughter
20f4562c6d
fix for plugin installation and code paths
10 年前
Tristan Sloughter
8687ddc14a
reverse relx config so profile settings are used properly
10 年前
Fred Hebert
51e822e54c
Add a shell agent
The shell agent allows to run rebar3 commands and autoload compiled
modules when that is done.
10 年前
Jean Parpaillon
7ff23a63dc
Add rebar.config 'excluded_apps' key.
Listed applications are simply ignored.
Allows for configuration time sub-application building.
10 年前
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.
10 年前
Tristan Sloughter
8a50331898
move handling of undefined app state to function
10 年前
Tristan Sloughter
e45c67b023
add additional comments
10 年前
Tristan Sloughter
f772dcee2e
fix storing of pkg and src deps in app_info
10 年前
Tristan Sloughter
37ac2b7833
read in app information after fetch so we have the deps
10 年前
Tristan Sloughter
958213def7
fall back to .app.src file if .app file fails to parse
10 年前
Tristan Sloughter
476a80c33e
format file read error in otp_app module
10 年前
Tristan Sloughter
be79d41093
have .app.src take precedence over .app file
10 年前
Tristan Sloughter
8ad6939939
improve error message fo rmissing app or app.src file
10 年前
Tristan Sloughter
8528204431
print and format error message for bad .app files and all bad configs
10 年前
Viacheslav Kovalev
c2c1079ba2
Show stacktrace to errors caught in rebar3 module.
10 年前
Tristan Sloughter
42339f62f3
only run clean hooks once
10 年前
Tristan Sloughter
fdc1267f67
start httpc in run/1 so it is available to download global plugins
10 年前
Tristan Sloughter
0bd49634ce
don't lose global plugin providers
10 年前
Tristan Sloughter
e65ad8c2ca
run hooks when building plugins
10 年前
Tristan Sloughter
76893ca4b9
make deps task listed in help and update zsh/bash completions
10 年前
Viacheslav Kovalev
49d977c2b8
Initialize namespace in rebar_state with default value.
10 年前
Tristan Sloughter
9cfef9c011
only update, when not in explicit upgrade, locks if out of date
10 年前
Tristan Sloughter
35166b5f1a
parsing deps of a dep should be done at the dep's level + 1
10 年前
Tristan Sloughter
b34cc49924
always upgrade if needs_update is true
10 年前
Viacheslav V. Kovalev
efd2445c74
Properly reset hooks for single-app project
10 年前
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
10 年前
Viacheslav V. Kovalev
549aaf770f
Properly initialize command parsed args in rebar state
10 年前
alisdair sullivan
d05103a4a8
methods for retrieving `src_dirs` and `extra_src_dirs`
note that now ALL `src_dirs` across included profiles are
compiled. previously only the last included profile's `src_dirs`
were used
10 年前
Stefan Grundmann
b9778401c2
io_lib:format/2 will throw badarg when trying to print rebar_resource:resource() as string
10 年前
Tristan Sloughter
529025b6fd
purge loaded code when it conflicts with project apps in tests
10 年前
Tristan Sloughter
3a201230fe
install plugins from the global config to ~/.cache/plugins
10 年前
alisdair sullivan
04f63ff53c
remove use of `code:load_abs/1` in favor of `beam_lib:chunks/2` to
avoid repeated loading and unloading of modules
10 年前
alisdair sullivan
c534deafc5
generalize the "test" special dir into an {extra_src_dirs, [...]} option
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
10 年前
soranoba
39513a5293
be able to use the specified edoclet in deps
10 年前
Stefan Grundmann
24615d8def
fix usage string in rebar_prv_unlock
10 年前
Fred Hebert
ca038d39f7
Proper custom pkg index support, some tests
- 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
10 年前
Tristan Sloughter
86fbaaeb08
add bad_download error
10 年前
Tristan Sloughter
1643f4a1fc
wrap fetch errors in rebar_fetch PRV_ERROR
10 年前
Tristan Sloughter
1fe93136c4
throw errors returned by resource:download/3
10 年前
Fred Hebert
56c925b75b
Ad-hoc attempt at restructuring pkg cache
10 年前
Tristan Sloughter
b636822d73
check md5sum of package against that sent by s3
10 年前
Tristan Sloughter
f30e5063ca
don't print skip message if dep is locked for pkgs as well
10 年前
Tristan Sloughter
819d0fb06f
verify checksums of hex packages
10 年前
Tristan Sloughter
7905a9f19c
store hex package downloads in shared cache dir
10 年前
alisdair sullivan
e4f9fbfc9d
when compiling ct dirs base compiler input dir on project root
rather than profile root
fixes #415
10 年前
Tristan Sloughter
fa95321774
remove uses of 'case catch'
10 年前
Fred Hebert
f5527de4e1
Further restricting skipped deps warnings
10 年前
Tristan Sloughter
fd4b5f5f2f
improve log messages on upgrades
10 年前
Tristan Sloughter
a6f33258e2
fix failure on missing OTP_VERSION file #403
10 年前