Chris Bernard
4825353a23
Fix incorrect coverage count when prod modules include EUnit header.
Modules that include the EUnit header get an implicit test/0 fun,
which cover considers a runnable line, but eunit:(TestRepresentation)
never calls. Result: prod modules with tests can never reach 100%
coverage. Ironic. In this case, fix it by decrementing the NotCovered
counter returned by cover:analyze/3.
15 年前
Bob Ippolito
35a928ecf2
merge ssh://hg@bitbucket.org/basho/rebar
15 年前
Bob Ippolito
9dd9585d5b
include source path in compiler errors, process commands separately (to make get-deps compile work), ensure ebin dir, process iteratively to support transitive deps
15 年前
Bob Ippolito
fc58d12820
fix hg and git clone commands for when repo does not exactly match application name
15 年前
Bob Ippolito
124897e937
run plugins once, do not run as a preprocessor, add ebin to path early
15 年前
Bob Ippolito
89b57e3aa4
when using plugin_modules, add ebin to path
15 年前
Bob Ippolito
66f44c6362
fix backwards match for debugging print
15 年前
Bob Ippolito
92be7a38bf
rebar_plugins in rebar_config to allow extensions
15 年前
Bob Ippolito
59ab113f3b
Run the preprocess again if subdirs were compiled, fixes http://bitbucket.org/basho/rebar/issue/5
15 年前
Bob Ippolito
100f277192
comment typo
15 年前
Jeremy Raymond
8e195e5337
Make 'command does not apply' warning into a warning
15 年前
Bob Ippolito
317655f724
comment typo
15 年前
Bob Ippolito
f436d7cd3c
add variables for create-app and create-node to help
15 年前
Dave Smith
2af6dc84ae
Complete implementation for simplistic .app.src processing.
15 年前
Dave Smith
902e00fb93
Add support for requiring a specific ERTS or OTP version via a regex
15 年前
David Reid
b85c0b4515
Add a global config option skip_deps which when present will cause dependencies not to be added to the list of directories to process, useful for ./rebar skip_deps=true eunit so that you don't run the tests of every dependency.
15 年前
Jon Meredith
bf3dfcb34b
Taught eunit/coverage to split the src module coverage stats from any test code.
15 年前
Dave Smith
ff1cf0365b
Make sure that the so_specs stuff is properly backwards compatible
15 年前
Dave Smith
1826e62069
Copy all source files for eunit to .eunit directory so that cover works properly (ick!)
15 年前
Tuncer Ayaz
914e5fbf68
New commands and opts (-V/--version/version/help)
15 年前
Tuncer Ayaz
c319662849
Correct comment
15 年前
Tuncer Ayaz
56b801b2c9
Add new erl_opts option to specify platform-specific defines
15 年前
Tuncer Ayaz
60c649bc4e
Add missing CXXFLAGS equivalents of CFLAGS
15 年前
Cliff Moon
939c36e527
merged from basho
15 年前
Cliff Moon
c3fe43a0ba
add new configuration option so_specs which allows multiple drivers to be built in the same project.
15 年前
Dave Smith
c28a16258c
Add caching of app file
15 年前
Dave Smith
f81cf34bb9
Add default CFLAGS for platforms where there can be variation of 32/64 bit Erlang VMs
15 年前
Dave Smith
c19b8ac003
Refactoring app file access to be via rebar_app_utils in prep for supporting .app.src
15 年前
Jeremy Raymond
87bca27644
Copy src files to .eunit so that cover can always find them
15 年前
Dave Smith
dbfd2a08cd
Merging w/ mainline
15 年前
Dave Smith
0add7acdbf
Make sure to add ebin/ to the code path as well so that xref can properly determine source/line of code.
15 年前
Tuncer Ayaz
99bf0f3918
Reuse rebar_utils:get_cwd/0
15 年前
Dave Smith
8f85d70897
Verify that we work with minimal git of 1.5
15 年前
Dave Smith
29a3d7267c
Merging w/ mainline
15 年前
Dave Smith
266d82f871
Add simple warning if no modules are interested in handling a command for a given directory
15 年前
Dave Smith
66906bc39e
Make sure to add .eunit as an absolute directory so that we avoid weirdness with code loading stuffs.
15 年前
Tuncer Ayaz
1e8916ba87
Document xref command
Also add a sleep after printing so that the io server has
written all output before exiting. It's a work around.
15 年前
Dave Smith
aea6f66939
Tested mercurial checkout down to 1.1
15 年前
Dave Smith
f1ca1be676
Removing debug_info from bootstrap; caused the rebar executable to be way bigger than we wanted
15 年前
Dave Smith
7218213d1c
Support older, more deployed version of mercurial
15 年前
Dave Smith
ab817cd020
Merging w/ mainline
15 年前
Dave Smith
f36e044e5d
Enable xref checks on rebar
15 年前
Dave Smith
fcf4507a80
Add stub for xref support; not yet done
15 年前
Dave Smith
564b99334d
Add helper makefile; update bootstrap to always build w/ debug_info
15 年前
Bryan Fink
4f470fcddd
clean up .yrl and .xrl handling
15 年前
Bryan Fink
e6e36834f9
add leex .xrl handling as well
15 年前
Bryan Fink
cf820007fc
add handling for yecc's .yrl files to erlc compiler
15 年前
Tuncer Ayaz
3a1d2e433c
Add create to shell completion
15 年前
Tuncer Ayaz
0f494c2a14
Add check-deps to shell completion and commands info
15 年前
Dave Smith
b2cfdcb34a
Adding basic NIF template
15 年前