Andrew Thompson
2f6991cbd7
Add documentation
il y a 11 ans
Andrew Thompson
03da5e0be0
Add random_suite_order option to eunit command
Option takes either 'true' or a numeric seed value. If true is passed, a
random seed is generated and used. The numeric seed value is for
repeatability.
The idea here is to root out test suites that are order dependant, or
that fail in the presence of certain orderings.
il y a 11 ans
Jared Morrow
fa679b4343
Merge pull request #224 from andrewjstone/allow-test
allow suite[s] or test[s] as options for eunit and ct
il y a 11 ans
Andrew Thompson
184edc2331
Merge pull request #188 from massemanet/xref_extra_path
Xref extra path
il y a 11 ans
Andrew Thompson
daf1428f95
Merge pull request #219 from h4cc/patch-1
Added R16B01 and R16B02 to travis config.
il y a 11 ans
Jared Morrow
cf3f2098e4
Bump rebar to 2.2.0 and add proper release notes
il y a 11 ans
Andrew J. Stone
cc72cd8fce
allow suite[s] or test[s] as options for eunit and ct
il y a 11 ans
Julius Beckmann
1017ba2849
Added R16B01 and R16B02 to travis config.
il y a 11 ans
Jared Morrow
af91604053
Merge pull request #212 from tuncer/hrl-error
Fix basho/rebar#388
il y a 11 ans
Jared Morrow
b2c2adb7c0
Merge pull request #215 from tuncer/experimental
Remove experimental flags
il y a 11 ans
Jared Morrow
c5e48b4a8b
Merge pull request #214 from tuncer/compile_only
Document compile_only=true
il y a 11 ans
Jared Morrow
477fbabfa8
Merge pull request #210 from tuncer/erlydtl-warnings
Fix #205 (erlydtl:compile/3 returns warnings)
il y a 11 ans
Tuncer Ayaz
2f2e7c4889
rebar_base_compiler: replace fixed size list with a tuple
il y a 11 ans
Tuncer Ayaz
97c9fdf31a
Fix basho/rebar#388
If the syntax error is in a .hrl file, then the reported error message
is not as useful because it's not clear which .erl file was being
compiled. We can fix that easily by first printing what source file was
being processed. We don't change the actual error message, so this will
still work with your editor of choice for jumping to the right line.
Before
------
Success:
Compiled src/foo.erl
Failure:
include/foo.hrl:10: syntax error [...]
After
-----
Success:
Compiled src/foo.erl
Failure:
Compiling src/foo.erl failed:
include/foo.hrl:10: syntax error [...]
il y a 11 ans
Jared Morrow
5d2b9ba23f
Merge pull request #191 from tuncer/rename-modules
Fix #187 (rename getopt and mustache)
il y a 11 ans
Jared Morrow
cf3a24e5c7
Merge pull request #196 from tuncer/rebar-run-info
Print a more appropriate message on 'rebar info'
il y a 11 ans
Jared Morrow
d75af5266d
Merge pull request #183 from EchoTeam/generate-upgrade-and-target-dir
generate-upgrade can now take target_dir argument
il y a 11 ans
Tuncer Ayaz
3c1b819369
erlydtl: add missing clause (Reported-by: goofansu)
erlydtl implemented 'binary' option. Add new clause for {binary, false}.
il y a 11 ans
Tuncer Ayaz
5fa6671511
Remove experimental flags
Remove experimental flag from:
* qc compile_only=true
* eunit compile_only=true
* src/foo.app.src.script
* eunit tests=
il y a 11 ans
Tuncer Ayaz
8a94a41ef0
Document compile_only=true
il y a 11 ans
mats cronqvist
4ca7c84179
introduce xref_extra_paths
il y a 11 ans
Tuncer Ayaz
03e7993402
Fix #205 (erlydtl:compile/3 returns warnings)
Adapt rebar_erlydtl_compiler to handle warnings emitted by
erlydtl:compile/3.
il y a 11 ans
Tuncer Ayaz
34ead92c83
Fix #187 (rename mustache to rebar_mustache)
il y a 11 ans
Tuncer Ayaz
777fefe181
Fix #187 (rename getopt to rebar_getopt)
While at it, update getopt.erl to git rev 78eda3b.
il y a 11 ans
Tuncer Ayaz
f2b370085c
inttest/depplugins: update docs
il y a 11 ans
Tuncer Ayaz
a8a415aed4
Fix regression caused by 252b31f
( #90 )
il y a 11 ans
Tuncer Ayaz
39c38b6141
rebar_core: minor comment fix
il y a 11 ans
Tuncer Ayaz
298743d50e
Add test for regression caused by 252b31f
( #90 )
il y a 11 ans
Tuncer Ayaz
4af177bd06
Print a more appropriate message on 'rebar info'
To avoid treating plugins' info/2 functions as commands, we catch calls
to 'rebar info'. Previously (4b8c81fb
) we simply printed the help
string, but it's much more informative to print the following:
Command 'info' not understood or not applicable
il y a 11 ans
Jared Morrow
df42410cf2
Merge pull request #190 from tuncer/quadruple-timeout
inttest/rgen_1: double the timeout a second time
il y a 11 ans
Jared Morrow
3e573baee6
Merge pull request #198 from tuncer/clean-up-rebar-config-script
Clean up rebar.config.script
il y a 11 ans
Jared Morrow
81b9ed0606
Merge pull request #201 from fenollp/create-lib
Added a library template.
il y a 11 ans
Pierre Fenoll
70cdb37942
Add command to rebar:command_names/0
il y a 11 ans
Pierre Fenoll
c83d037404
Add a library template
il y a 11 ans
Jared Morrow
b97677c2c2
Merge pull request #200 from tuncer/fix-debug-bootstrap
bootstrap: avoid trying to run 'debug' command
il y a 11 ans
Jared Morrow
e73098afea
Merge pull request #199 from tuncer/dia-dialyzer-warnings
rebar_dia_compiler: fix Dialyzer warnings
il y a 11 ans
Tuncer Ayaz
af305f2425
bootstrap: avoid trying to run 'debug' command
If you invoke 'make debug', then bootstrap executes rebar:main/1 with
the extra argument "debug" and rebar treats that as a command. There is
no such command.
Without this patch you will see the following on bootstrap:
Command 'debug' not understood or not applicable
il y a 11 ans
Tuncer Ayaz
031e7c5fc5
rebar_dia_compiler: fix Dialyzer warnings
il y a 11 ans
Tuncer Ayaz
7d70dfbe6f
Clean up rebar.config.script
il y a 11 ans
Tuncer Ayaz
0f8ef12341
inttest/rgen_1: double the timeout a second time
60s still seems to be too low, as it timed out for at least the R15B01
job of the timeout patch merge:
https://travis-ci.org/rebar/rebar/builds/15051701
https://travis-ci.org/rebar/rebar/jobs/15051703
il y a 11 ans
Jared Morrow
fbc51c0a8c
Merge pull request #184 from tuncer/logging
Fix log levels
il y a 11 ans
Florent Gallaire
51584caa3e
A switch variable can have multiple values
il y a 11 ans
Florent Gallaire
0e39dc4149
Support switch template instructions
il y a 11 ans
Tuncer Ayaz
277a10cd3b
Fix is_verbose/1 helper function
il y a 11 ans
Tuncer Ayaz
f39309a660
Write ERROR messages to standard_error device
il y a 11 ans
Tuncer Ayaz
6de94e8a16
Change default log level to 'warn' and introduce -q/--quiet
il y a 11 ans
Tuncer Ayaz
e5d76e7e8c
rebar_log: use defines for log level numbers
il y a 11 ans
Tuncer Ayaz
2f636236bf
rebar_config:is_verbose/0: fix variable name
il y a 11 ans
Dave Smith
ad1da88a07
Merge pull request #189 from tuncer/rgen1_timeout
inttest/rgen1: increase retest timeout (30s -> 60s)
il y a 11 ans
Tuncer Ayaz
a3430a8053
inttest/rgen1: increase retest timeout (30s -> 60s)
The current default (30s) causes inttest/rgen1 to timeout too often. Add
retest.config to double the timeout.
il y a 11 ans