Tristan Sloughter
9184bffadb
add relup to readme and shell completitions
9 anni fa
Tristan Sloughter
b85d827c80
add relup provider and update relx
9 anni fa
Fred Hebert
ed0b8fca45
Merge pull request #544 from tsloughter/no_plugin_upgrade
error message when no plugin is passed to plugins upgrade and global upgrade
9 anni fa
Tristan Sloughter
b830c65ef0
check global for plugin if not found in local profiles
9 anni fa
Tristan Sloughter
c2209785f9
add error message when no plugin is passed to plugins upgrade
9 anni fa
Tristan Sloughter
75644c5009
Merge pull request #543 from ferd/more-tests
More tests
9 anni fa
Fred Hebert
8c8774f3e0
Make the test work on more versions
9 anni fa
Fred Hebert
36cc244607
Adding erl_first_files test
The test works by using a parse transform that stamps modules with an
attribute as it runs them. It then compiles everything, loads the
module, and makes sure the stamps respect the defined order.
9 anni fa
Fred Hebert
23eb53ebfd
Adding tests for locks
9 anni fa
Fred Hebert
55e3e55314
Merge pull request #452 from sg2342/fix-as-plugin_install
install_plugins in rebar_prv_as:do
9 anni fa
Stefan Grundmann
136540ff10
install plugins in rebar_prv_as:do
10 anni fa
Fred Hebert
4f23b5c99d
Merge pull request #540 from tsloughter/bad_profile_config
error message for bad profile config, fixes #539
9 anni fa
Tristan Sloughter
b44867db07
error message for bad profile config
9 anni fa
Fred Hebert
ee286ed443
Merge pull request #537 from tsloughter/plugin_overrides
fix for overrides in plugins, simpler plugin state handling
9 anni fa
Tristan Sloughter
f8bb088305
fix for overrides in plugins, simpler plugin state handling
9 anni fa
Fred Hebert
c20ea1c924
Merge pull request #533 from tsloughter/sorted_pkg_list
print sorted list of packages
10 anni fa
Tristan Sloughter
9823ff12f0
print sorted list of packages
10 anni fa
Fred Hebert
11d7a07064
Merge pull request #532 from tsloughter/pkgs_for_deps
Updates some deps, moves to packages for deps and adds dialyzer profile
10 anni fa
Tristan Sloughter
6d3a107056
use application:start(crypto) instead of crypto:start()
10 anni fa
Tristan Sloughter
9df51005e6
use packages for deps and add dialyze profile
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
Fred Hebert
4acd8e0151
Merge pull request #531 from tsloughter/new_commands
update readme and completions for new commands
10 anni fa
Tristan Sloughter
18e9def786
update readme and completions for new commands
10 anni fa
Fred Hebert
95cfb44e5a
Merge pull request #530 from tsloughter/plugins_for_plugins
Plugins for plugins
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
312b557005
Merge pull request #529 from tsloughter/ns_help
print help for namespaces
10 anni fa
Fred Hebert
7675a4d33f
Merge pull request #528 from tsloughter/plugin_paths
fix path storing for plugins, fixes #527
10 anni fa
Tristan Sloughter
5a6b551eb5
print help for namespaces
10 anni fa
Tristan Sloughter
4223e5dd64
fix path storing for plugins
10 anni fa
Fred Hebert
8bd24214cb
Merge pull request #522 from tsloughter/hooks_error
Add error message for bad provider hook, fixes #521
10 anni fa
Tristan Sloughter
4bb2a0c710
Add error message for bad provider hook, fixes #521
10 anni fa
Fred Hebert
70dbbf95c2
Merge pull request #505 from tsloughter/plugins_provider
plugins provider
10 anni fa
Tristan Sloughter
f7ff07a87d
plugins provider
10 anni fa
Fred Hebert
4edfed60a2
Merge pull request #517 from tsloughter/dict_parse
catch error if config can't be parsed into dict to print error message
10 anni fa
Tristan Sloughter
cd8c03e1c4
check format of config file and print the bad section in the error
10 anni fa
Fred Hebert
544cf2ced3
Merge pull request #515 from talentdeficit/rebar3_513
ensure all `src_dirs` and `extra_src_dirs` are handled properly
10 anni fa
Fred Hebert
16be57b66c
Merge pull request #520 from tsloughter/undef_do
print nice error message if do is undef for provider
10 anni fa
Tristan Sloughter
2d301ffca2
print nice error message if do is undef for provider
10 anni fa
Fred Hebert
ef4c218456
Merge pull request #510 from erocci/master
Export env var REBAR_BUILD_DIR in hooks, as rebar_dir:base_dir/1
10 anni fa
Tristan Sloughter
9a7807df94
Merge pull request #519 from ferd/fix-shell-output
OTP apps show proper output
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
Fred Hebert
1972f1f85a
Merge pull request #507 from fishcakez/rebar2_compat_config
Use the same dialyzer rebar.config options as rebar
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
Fred Hebert
21c5eb6fbe
Merge pull request #502 from fishcakez/rebar2_compat
Include same files in PLT as rebar2
10 anni fa
Fred Hebert
2c533d0f45
Merge pull request #500 from tsloughter/artifacts
add config option artifacts
10 anni fa