Tristan Sloughter
e45c67b023
add additional comments
há 10 anos
Tristan Sloughter
f772dcee2e
fix storing of pkg and src deps in app_info
há 10 anos
Tristan Sloughter
37ac2b7833
read in app information after fetch so we have the deps
há 10 anos
Tristan Sloughter
958213def7
fall back to .app.src file if .app file fails to parse
há 10 anos
Tristan Sloughter
476a80c33e
format file read error in otp_app module
há 10 anos
Tristan Sloughter
be79d41093
have .app.src take precedence over .app file
há 10 anos
Tristan Sloughter
8ad6939939
improve error message fo rmissing app or app.src file
há 10 anos
Tristan Sloughter
8528204431
print and format error message for bad .app files and all bad configs
há 10 anos
Viacheslav Kovalev
c2c1079ba2
Show stacktrace to errors caught in rebar3 module.
há 10 anos
Tristan Sloughter
42339f62f3
only run clean hooks once
há 10 anos
Tristan Sloughter
fdc1267f67
start httpc in run/1 so it is available to download global plugins
há 10 anos
Tristan Sloughter
0bd49634ce
don't lose global plugin providers
há 10 anos
Tristan Sloughter
e65ad8c2ca
run hooks when building plugins
há 10 anos
Tristan Sloughter
76893ca4b9
make deps task listed in help and update zsh/bash completions
há 10 anos
Viacheslav Kovalev
49d977c2b8
Initialize namespace in rebar_state with default value.
há 10 anos
Tristan Sloughter
9cfef9c011
only update, when not in explicit upgrade, locks if out of date
há 10 anos
Tristan Sloughter
35166b5f1a
parsing deps of a dep should be done at the dep's level + 1
há 10 anos
Tristan Sloughter
b34cc49924
always upgrade if needs_update is true
há 10 anos
Viacheslav V. Kovalev
efd2445c74
Properly reset hooks for single-app project
há 10 anos
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
há 10 anos
Viacheslav V. Kovalev
549aaf770f
Properly initialize command parsed args in rebar state
há 10 anos
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
há 10 anos
Stefan Grundmann
b9778401c2
io_lib:format/2 will throw badarg when trying to print rebar_resource:resource() as string
há 10 anos
Tristan Sloughter
529025b6fd
purge loaded code when it conflicts with project apps in tests
há 10 anos
Tristan Sloughter
3a201230fe
install plugins from the global config to ~/.cache/plugins
há 10 anos
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
há 10 anos
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
há 10 anos
soranoba
39513a5293
be able to use the specified edoclet in deps
há 10 anos
Stefan Grundmann
24615d8def
fix usage string in rebar_prv_unlock
há 10 anos
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
há 10 anos
Tristan Sloughter
86fbaaeb08
add bad_download error
há 10 anos
Tristan Sloughter
1643f4a1fc
wrap fetch errors in rebar_fetch PRV_ERROR
há 10 anos
Tristan Sloughter
1fe93136c4
throw errors returned by resource:download/3
há 10 anos
Fred Hebert
56c925b75b
Ad-hoc attempt at restructuring pkg cache
há 10 anos
Tristan Sloughter
b636822d73
check md5sum of package against that sent by s3
há 10 anos
Tristan Sloughter
f30e5063ca
don't print skip message if dep is locked for pkgs as well
há 10 anos
Tristan Sloughter
819d0fb06f
verify checksums of hex packages
há 10 anos
Tristan Sloughter
7905a9f19c
store hex package downloads in shared cache dir
há 10 anos
alisdair sullivan
e4f9fbfc9d
when compiling ct dirs base compiler input dir on project root
rather than profile root
fixes #415
há 10 anos
Tristan Sloughter
fa95321774
remove uses of 'case catch'
há 10 anos
Fred Hebert
f5527de4e1
Further restricting skipped deps warnings
há 10 anos
Tristan Sloughter
fd4b5f5f2f
improve log messages on upgrades
há 10 anos
Tristan Sloughter
a6f33258e2
fix failure on missing OTP_VERSION file #403
há 10 anos
Tristan Sloughter
c612b0e1fd
check registry for missing package that may exist for mix
há 10 anos
alisdair sullivan
9c544217ba
delete all symlinks when copying from project files to `_build` tree
to prevent any data from being overwritten
fixes #395
há 10 anos
Tristan Sloughter
a41fbf6cfe
add processing_base_dir to rebar_api
há 10 anos
Tristan Sloughter
498ec5d3ae
add all plugins, not those just built, to path
há 10 anos
Tristan Sloughter
c5aee4b375
ignore pkgs that can't build with rebar or make
há 10 anos
Tristan Sloughter
d53d3b56be
update mustache to v0.3.0 and relx to 2.0.0
há 10 anos
Tristan Sloughter
4e5bc6056f
update mustache to v0.3.0 and relx to 2.0.0
há 10 anos