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 年之前
Tristan Sloughter
c612b0e1fd
check registry for missing package that may exist for mix
10 年之前
alisdair sullivan
9c544217ba
delete all symlinks when copying from project files to `_build` tree
to prevent any data from being overwritten
fixes #395
10 年之前
Tristan Sloughter
a41fbf6cfe
add processing_base_dir to rebar_api
10 年之前
Tristan Sloughter
498ec5d3ae
add all plugins, not those just built, to path
10 年之前
Tristan Sloughter
c5aee4b375
ignore pkgs that can't build with rebar or make
10 年之前
Tristan Sloughter
d53d3b56be
update mustache to v0.3.0 and relx to 2.0.0
10 年之前
Tristan Sloughter
4e5bc6056f
update mustache to v0.3.0 and relx to 2.0.0
10 年之前
derwinlu
3edede54e7
fix rebar_git_resource
* fix shell commands relying on non windows shell commands
* fix shell commands using wrong quotes
* implement native wc -l
10 年之前
Nathaniel Waisbrot
5cc7c76a8a
try to read a config file when running `rebar shell`
Adds a `--config` flag to the shell command to specify a config file.
If the flag is not specified, attempts to read the sys_config
defined for relx.
10 年之前
Tristan Sloughter
0fb32e173f
use mustache as a dep
10 年之前