CarlosEDP
38cc32c40a
Added rebar profile to httpc initialization and calls.
9 anni fa
CarlosEDP
46ca2bb6b0
Fix for cases with no proxy configured.
9 anni fa
CarlosEDP
9a20d3b56a
No need to use profile hex. Proxy settings are applied globally.
9 anni fa
CarlosEDP
60265aba34
Get proxy vars from ~/.config/rebar3/rebar.config. Variable format is {http_proxy, http://host:port } or {http_proxy, http://host:port }
9 anni fa
CarlosEDP
8de84f1af0
Added support for proxy on rebar3 based on environment variables.
9 anni fa
Garret Smith
f8728fea2d
Read and process .app.src.script if present
9 anni fa
Tristan Sloughter
1c66f0eb9f
setup hex httpc profile and http opts. needed also for proxy
9 anni fa
Tristan Sloughter
4e410b6d6e
update contributing, readme and app.src for beta-1
9 anni fa
Tristan Sloughter
da7e15c9a5
only reverse some relx args, fixes profile usage for relx
10 anni fa
Tristan Sloughter
5402199d88
expand plugins for profile after applying profiles
10 anni fa
Viacheslav V. Kovalev
9a83c35a6f
Rewrite code around remove_links/1 to make it clearer
10 anni fa
Daniel Widgren
ebfdbc695e
Fixed review comments
10 anni fa
Viacheslav V. Kovalev
44272e23b6
Some fixes after review
10 anni fa
alisdair sullivan
f51d7f2048
add an (almost) unique reference to message sent from the ct provider
to itself so a selective receive can be used to retrieve it
fixes #547
10 anni fa
Tristan Sloughter
b85d827c80
add relup provider and update relx
10 anni fa
Viacheslav V. Kovalev
ab98bc15a8
Fix rebar_utils:sh on windows
10 anni fa
Viacheslav Kovalev
a753bbeafc
Fix common test run duplication on windows
10 anni fa
Daniel Widgren
a029e957fd
Fixed two tests for windows 8.1 and added touch functionality
10 anni fa
Viacheslav V. Kovalev
d734beb850
Fix dialyzer tests on windows
10 anni fa
Viacheslav V. Kovalev
8138bb92b2
Fix windows-related issues
10 anni fa
Daniel Widgren
4eaa21cd27
Fixed so that release tests now pass. Got all green tests.
10 anni fa
Viacheslav V. Kovalev
9e3b361095
Fix dialyzer tests on windows
10 anni fa
Viacheslav V. Kovalev
473393a172
Fix rebar_utils:sh on windows
10 anni fa
Viacheslav Kovalev
f7bd6ca8ac
Fix common test run duplication on windows
10 anni fa
Daniel Widgren
e3d32b10cc
Fixed two tests for windows 8.1 and added touch functionality
10 anni fa
Viacheslav V. Kovalev
b944acc204
Fix dialyzer tests on windows
10 anni fa
Viacheslav V. Kovalev
9ad39c979a
Fix windows-related issues
10 anni fa
Tristan Sloughter
b830c65ef0
check global for plugin if not found in local profiles
10 anni fa
Tristan Sloughter
c2209785f9
add error message when no plugin is passed to plugins upgrade
10 anni fa
Tristan Sloughter
b44867db07
error message for bad profile config
10 anni fa
Tristan Sloughter
f8bb088305
fix for overrides in plugins, simpler plugin state handling
10 anni fa
Tristan Sloughter
9823ff12f0
print sorted list of packages
10 anni fa
Tristan Sloughter
ea9b60f4be
deduplicate parts of package and source dep handling
10 anni fa
Tristan Sloughter
a5b3f6403b
overrides working for pkg deps
10 anni fa
Tristan Sloughter
5866742dd8
use bbmustache package
10 anni fa
Tristan Sloughter
102d6c5e8b
include app's state providers when building plugin so they can rely on plugins
10 anni fa
Tristan Sloughter
538d8e7e04
add debug statement of failed hook to help plugin builders
10 anni fa
Tristan Sloughter
5a6b551eb5
print help for namespaces
10 anni fa
Tristan Sloughter
4223e5dd64
fix path storing for plugins
10 anni fa
Tristan Sloughter
4bb2a0c710
Add error message for bad provider hook, fixes #521
10 anni fa
Tristan Sloughter
f7ff07a87d
plugins provider
10 anni fa
Tristan Sloughter
cd8c03e1c4
check format of config file and print the bad section in the error
10 anni fa
Tristan Sloughter
2d301ffca2
print nice error message if do is undef for provider
10 anni fa
Jean Parpaillon
4158595d4a
Export following env vars when running hooks:
REBAR_DEPS_DIR = rebar_dir:deps_dir/1
REBAR_BUILD_DIR = rebar_dir:base_dir/1
REBAR_ROOT_DIR = rebar_dir:root_dir/1
REBAR_CHECKOUTS_DIR = rebar_dir:checkouts_dir/1
REBAR_PLUGINS_DIR = rebar_dir:plugins_dir/1
REBAR_GLOBAL_CONFIG_DIR = rebar_dir:global_config_dir/1
REBAR_GLOBAL_CACHE_DIR = rebar_dir:global_cache_dir/1
REBAR_TEMPLATE_DIR = rebar_dir:template_dir/1
REBAR_APP_DIRS = rebar_dir:lib_dirs/1
REBAR_SRC_DIRS = rebar_dir:src_dirs/1
autoconf compatible variables
(see: http://www.gnu.org/software/autoconf/manual/autoconf.html#Erlang-Libraries ):
ERLANG_ERTS_VER = erlang:system_info(version)
ERLANG_ROOT_DIR = code:root_dir/0
ERLANG_LIB_DIR_erl_interface = code:lib_dir(erl_interface)
ERLANG_LIB_VER_erl_interface = version part of path returned by code:lib_dir(erl_interface)
ERL = ERLANG_ROOT_DIR/bin/erl
ERLC = ERLANG_ROOT_DIR/bin/erl
Export env var REBAR_BUILD_DIR in hooks, as rebar_dir:base_dir/1
10 anni fa
Fred Hebert
1994a7177c
OTP apps show proper output
Whenever the old shell got killed and an app got loaded prior, the whole
thing would silently drop output as the old 'user' process was replaced
while application master processes would keep the old one's pid in
their internal state.
To work around this limitation, make sure the apps are booted only after
the shell is replaced so that only the new `user` pid is used.
10 anni fa
alisdair sullivan
087dfdd325
ensure all `src_dirs` and `extra_src_dirs` are handled properly
when running `ct` tests
fixes #513
10 anni fa
James Fish
e1f7c8c5f9
Use the same dialyzer rebar.config options as rebar
* All configuration is moved to `{dialyzer, PropList}`
* `dialyzer_warnings` renamed `warnings`
* `dialyzer_plt_warnings` renamed `get_warnings`
* `dialyzer_plt_apps` renamed `plt_extra_apps`
* `dialyzer_plt_dir` renamed `plt_location`
* `{plt_location, local}` uses profile base directory
* `dialyzer_plt` removed
* `dialyzer_plt_prefix` sets prefix of PLT name (default "rebar3")
* `dialyzer_base_plt_apps` renamed `base_plt_apps`
* `dialyzer_base_plt_dir` renamed `base_plt_location`
* `{base_plt_location, global}` uses rebar3's global cache directory
* `dialyzer_base_plt` removed
* `base_plt_prefix` sets prefix of PLT name (default "rebar3")
PLT files are always named `<prefix>_<otp_version>_plt` to match rebar.
`plt_prefix` and `base_plt_prefix` are not available in rebar, where the
prefix is always set to the project's top level application.
10 anni fa
James Fish
9ea7d92e1e
Include same files in PLT as rebar2
* Only include direct dependencies + base plt
* Error on missing direct dependency
* Always use beams in ebin instead of reading .app file (copying rebar2)
* Remove fake unknown warnings (will clash with unknown warning in 18.0)
* Remove redundant search for .app file (code path includes deps)
10 anni fa
Tristan Sloughter
cf4f079f25
improve escriptize provider
10 anni fa
Tristan Sloughter
a3ce939ec5
add config option artifacts
10 anni fa