Commit graph

23 commits

Author SHA1 Message Date
Fred Hebert
0b1e6b3779 Revert "Merge pull request #281 from tuncer/rebar-h-internal"
This reverts commit 07e2232847, reversing
changes made to 37cf470ae9.
2014-06-23 13:48:49 -04:00
Tuncer Ayaz
bf63171893 Move include/rebar.hrl to src/rebar.hrl
rebar.hrl is only meant to be used by src/*.
2014-05-22 11:56:54 +02:00
Tuncer Ayaz
f39309a660 Write ERROR messages to standard_error device 2013-12-06 19:05:45 +01:00
Tuncer Ayaz
e47d643ea3 Use separate dirs for eunit and qc 2012-08-09 18:37:26 +02:00
Tuncer Ayaz
4875d2312c Add rebar.hrl R13B04 TODO
We have to rename ?FAIL to ?ABORT once we require at least R13B04 for
building rebar. Macros with different arity were not supported by the
compiler before 13B04.
2012-07-28 20:14:10 +02:00
Tuncer Ayaz
636c02f0be Fix R13B03 build (Reported-by: Sergey Nartimov) 2012-07-28 19:51:57 +02:00
Tuncer Ayaz
e75a97ad33 Add 'qc' cmd and rename eunit-compile to test-compile 2012-07-23 16:22:06 +02:00
Dave Smith
c86c99940d Remove ?FAIL in favor of ?ABORT 2012-06-08 07:06:15 -06:00
Tuncer Ayaz
b1d84514f0 Add rebar_utils:deprecated/4 and remove define 2011-12-12 17:52:04 +01:00
Mattias Holmlund
d35f343f79 Restore R13B03 compatibility for building rebar
The ability to overload macros was added in Erlang R13B04.
The second form was not used anyway.
2011-07-28 22:27:54 +02:00
Tuncer Ayaz
fbd2778c04 Deprecate xrl_opts/yrl_opts fail_on_warning opt 2011-06-08 19:44:57 +02:00
Tuncer Ayaz
055ac99d6f Deprecate fail_on_warning and refactor code 2011-04-07 21:56:53 +02:00
Tuncer Ayaz
6d75bfbeb0 Clean up specs 2011-03-28 18:39:38 +02:00
Tuncer Ayaz
68f4743563 Remove unused record definition 2011-03-28 18:30:50 +02:00
Tim Watson
3db8f585f1 Add -spec support to rebar_ct command line
This change adds support for executing ct test runs based on test
specificiations, which was missing previously. The rebar_ct module
now looks for any number of files with a name ending in `test.spec`
and if it finds one or more, passes these after the `-spec` argument
to ct_run instead of explicitly configuring the config, user config
and coverage config variables.

When no specifications are found, then the module behaves as it did
before this change, and both the ct1 and (new) ct2 integration tests
appear to show this is a backwards compatible patch.
2011-02-21 15:08:24 +01:00
Dave Smith
1f6d861aba Overhaul env expansion so that rebar fully expands env refs prior to invoking the shell script. Also now using DRV_* env vars for compilation/linking of files found in c_src; this frees up "normal" CFLAGS/LDFLAGS for usage in sub build scripts. 2010-02-16 07:05:29 -07:00
Dave Smith
30a3816c86 Use init:stop/1 over halt/1 to ensure all I/O gets a chance to flush 2010-02-05 13:16:21 -07:00
iw
39907904e8 Include support for dialyzer 2010-01-07 15:10:20 +00:00
Dave Smith
d51479c37e Adding ?ABORT macro 2009-12-28 06:51:03 -07:00
Dave Smith
28fe3bfd54 More gross structural work; now has log levels and broken out log level control 2009-11-29 16:44:30 -07:00
Dave Smith
e4a9310a97 Adding support for basic compilation ordering 2009-11-25 21:55:47 -07:00
Dave Smith
e52bb6783c Getting basic erlang compilation working 2009-11-25 16:03:14 -07:00
Dave Smith
b7e2088c27 Initial commit 2009-11-25 15:23:42 -07:00