Tristan Sloughter
79b1f23240
move back to using format_error/1
10 lat temu
Tristan Sloughter
77ae749326
update package update provider
10 lat temu
Tristan Sloughter
8bd6a7088f
switch back to erlware relx repo
10 lat temu
Tristan Sloughter
c508a3feb8
fix tar provider to pass release and tar to relx as 2 commands
10 lat temu
Tristan Sloughter
055fa5b639
update config deps and support semver in app vsn
10 lat temu
Tristan Sloughter
1dce2d36cc
add format_error/2 provider callback to providers
10 lat temu
Tristan Sloughter
9f98bdde67
switch to https for getopt so github account isn't needed
10 lat temu
Tristan Sloughter
b37a5ae611
move providers to separate app
10 lat temu
Tristan Sloughter
6356112cbb
more dialyzer fun. no likey opaque types
10 lat temu
Tristan Sloughter
52fcf0278d
add rebar providers create and plugin inclusion with providers
10 lat temu
Tristan Sloughter
48769e75c2
wip: move to erlydtl for rebar templates
10 lat temu
Tristan Sloughter
6ab36ba769
rename escript to rebar3
10 lat temu
Tristan Sloughter
21f4743861
remove more code that can be brought back later if needed
10 lat temu
Tristan Sloughter
901cea4671
quick and dirty fix for proper dep compilatoin order
10 lat temu
Tristan Sloughter
b37fe2c4bb
refactoring and remove unused providers for now
10 lat temu
Tristan Sloughter
eb8fa02df7
large refactoring
Removed separate compilers
Resolves apps to build
Finds avail deps before pulling/building
Includes relx
Simplifies build commands
10 lat temu
Tuncer Ayaz
15373a580f
Fix typo s/of/on/
10 lat temu
Tuncer Ayaz
71c2f17c9b
Remove warnings_as_errors from rebar.config
rebar's beam files are actually compiled by bootstrap's call to
make:files/2, so warnings_as_errors in rebar.config isn't really used.
11 lat temu
Tuncer Ayaz
5f995bfdc0
Fix a few minor formatting inconsistencies
* fix overlong lines
* where appropriate use %% instead of %
11 lat temu
Matwey V. Kornilov
a7e05f57d1
Fix build for 17.0 using the solutiong proposed by @tsloughter
We use namespaced_types option to choose between dict() and dict:dict() types.
11 lat temu
Tuncer Ayaz
e74a0feb05
rebar.config: delete unused and unimplemented 'app_bin' option
app_bin option was used by the install command which has been
removed in 51ed787
.
12 lat temu
Dave Smith
473843d3cc
Add diameter exclusions to xref
12 lat temu
Tuncer Ayaz
e0bc55db33
Use R15B02 EUnit {test,M,F} primitive as suggested by Richard Carlsson
12 lat temu
Tuncer Ayaz
73e9413a01
Update custom xref query
12 lat temu
Tuncer Ayaz
0af95507aa
Update custom xref query (eunit_test calls)
eunit_test:function_wrapper/2 was renamed to eunit:mf_wrapper/2 in
R15B02. Ignore both calls like we do with escript:foldl/3.
12 lat temu
Tuncer Ayaz
563607bc02
Change escript zip archive creation as suggested by Siri Hansen
1. manually insert directory entries to work around issues fixed in
R15B02 erl_prim_loader
2. put the escript archive's beams in appname/appname/ebin
Tested with R13B03 and R15B01.
13 lat temu
Tuncer Ayaz
556f47579d
No need to re-specify default escript_shebang in rebar.config
12 lat temu
Tuncer Ayaz
c91250d2df
Use [{File,Bin}, ...] in escriptize zip:create
13 lat temu
Tuncer Ayaz
83879c22e1
Add missing escriptize comments
13 lat temu
Tuncer Ayaz
1e980859e2
Extend escriptize and reuse in bootstrap
13 lat temu
Amit Kapoor
6ada1c24c7
Update filter list for custom xref query
Rebar has support for optional compilers built-in. These compilers might
not be installed causing xref to return errors for the undefined external
function calls query. The updated filter list will catch this error and
act as a nop if they are installed.
13 lat temu
Amit Kapoor
0191806f92
Add support for custom xref queries
The custom queries are configured in rebar.config via the tuple
{xref_queries, [{query(), query_result()},...]}. The implementation
passes the query() string to xref:q and compares the return value with
query_result(). It will result in an error if they do not match.
The following configuration, for example, is the same as running the
xref check undefined_function_calls. It additionally filters
ejabberd_logger:*_msg/4 from the result as these functions are generated
on execution by ejabberd and not available at compile time.
{xref_queries, [{"(XC - UC) || (XU - X - B -
(\"ejabberd_logger\":\".*_msg\"/\"4\"))",[]}]}.
This patch also modifies the build process of this package by running a
custom query instead of doing a diff against a static xref_warning file.
13 lat temu
Piotr Usewicz
df4e836c4e
Add file local variables where appropriate
14 lat temu
Tuncer Ayaz
27de53125e
Use warnings_as_errors instead of fail_on_warning
14 lat temu
Tuncer Ayaz
be209f24ff
Make debug_info default
Add no_debug_info option.
Remove debug_info=1 option.
14 lat temu
Dave Smith
f36e044e5d
Enable xref checks on rebar
15 lat temu
Dave Smith
7cf35a88ba
Enable fail_on_warning by default
15 lat temu
Jon Meredith
8e91e1014e
Connected up symlinking the list of progs in rebar.config/app_bin
to the OTP bin dir.
15 lat temu