Dave Smith
66906bc39e
Make sure to add .eunit as an absolute directory so that we avoid weirdness with code loading stuffs.
il y a 15 ans
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.
il y a 15 ans
Dave Smith
aea6f66939
Tested mercurial checkout down to 1.1
il y a 15 ans
Dave Smith
f1ca1be676
Removing debug_info from bootstrap; caused the rebar executable to be way bigger than we wanted
il y a 15 ans
Dave Smith
7218213d1c
Support older, more deployed version of mercurial
il y a 15 ans
Dave Smith
ab817cd020
Merging w/ mainline
il y a 15 ans
Dave Smith
f36e044e5d
Enable xref checks on rebar
il y a 15 ans
Dave Smith
fcf4507a80
Add stub for xref support; not yet done
il y a 15 ans
Dave Smith
564b99334d
Add helper makefile; update bootstrap to always build w/ debug_info
il y a 15 ans
Bryan Fink
4f470fcddd
clean up .yrl and .xrl handling
il y a 15 ans
Bryan Fink
e6e36834f9
add leex .xrl handling as well
il y a 15 ans
Bryan Fink
cf820007fc
add handling for yecc's .yrl files to erlc compiler
il y a 15 ans
Tuncer Ayaz
3a1d2e433c
Add create to shell completion
il y a 15 ans
Tuncer Ayaz
0f494c2a14
Add check-deps to shell completion and commands info
il y a 15 ans
Dave Smith
b2cfdcb34a
Adding basic NIF template
il y a 15 ans
Dave Smith
84f5108e17
Adding check-deps and helper target for compilation
il y a 15 ans
Tuncer Ayaz
5f98b6b65a
Add ASN.1 support (via Ruslan Babayev)
Add support for compiling ASN.1 files with asn1ct.
Patch from Ruslan Babayev.
il y a 15 ans
Tuncer Ayaz
3dfc7a8486
Add get-deps and delete-deps to commands info and shell completion
Add get-deps and delete-deps to commands info string and
bash completion script.
il y a 15 ans
Dave Smith
c71ec1d68f
Merging w/ mainline
il y a 15 ans
Dave Smith
be6bb20c59
Revamp deps system to NOT pull down deps automatically. You must now use pull-deps explicitly
il y a 15 ans
Dave Smith
a12778ba65
Removing overly verbose debug message (yes, I realize the irony)
il y a 15 ans
Tuncer Ayaz
459b312ada
Add template variable to bash completion
Add create command's template variable to bash completion.
il y a 15 ans
Tuncer Ayaz
faf21694fe
Make sure zip module is loaded
Before we check for zip:foldl/3 make sure zip module is loaded.
il y a 15 ans
Tuncer Ayaz
62a2788e8b
Update TODO file
one item done, another one saved
il y a 15 ans
Tuncer Ayaz
16c5de8aea
Add commands option to bash completion
Add -c/--commands option to the bash completion script.
il y a 15 ans
Tuncer Ayaz
ebfb1dc40d
Add option to show available commands
Implement new option -c/--commands to print available
commands and its variables.
il y a 15 ans
Tuncer Ayaz
218051618f
Add TODO file
A TODO file is always a good idea.
il y a 15 ans
Tuncer Ayaz
aeabfb6fe9
Add escript_foldl/3 TODO
Comment what has to be done when the new OTP release is out
and the time is right.
il y a 15 ans
Tuncer Ayaz
dfb5af4049
Add forward-compatible escript_foldl function
escript:foldl/3 was undocumented and has been replaced with
better APIs post-R13B04. The new exported funs are officially
documented.
il y a 15 ans
Dave Smith
a49d257412
Merging eunit fixes + some UNIT TESTS!! from cebernard
il y a 15 ans
Dave Smith
95227cf6ef
Merging changes from vagabond
il y a 15 ans
David Reid
a29da71aac
Support for downloading deps via bzr.
il y a 15 ans
David Reid
92a5a326d5
Support downloading deps via SVN.
il y a 15 ans
Chris Bernard
25538e071f
Fixed 3 bugs in rebar_eunit. Added EUnit tests to capture them.
1. When running the eunit command with the convention of putting
tests in "*_tests" modules, eunit would run those tests twice. This
is because: 1) eunit:test/1 will naturally look for foo's tests both
in foo, and in foo_tests, and 2) eunit:test/1 was being folded over
all project modules. The fix is to filter "*_tests" modules from the
list passed to eunit:test/1.
2. When running the eunit command with cover enabled and tests in a
'test' directory, cover would error because it couldn't find the
source code for those tests. This is because cover:analyze/3 will
only find module source in "." and "../src". This is hard-coded in
cover :-(. Since cover shouldn't be calculating code coverage on test
code anyway, the fix is to not fold cover:analyze/3 over
non-production code.
3. When running the eunit command with cover enabled and a test suite
defined, cover would only attempt to calculate coverage on the the
test suite itself. This was because only the suite was passed to
cover:analyze/3. The fix is to fold cover:analyze/3 over all the
production code, filtering out the suite module if it is defined.
il y a 15 ans
Vagabond
50832a1a14
Don't detect the source file as an include of itself
il y a 15 ans
Vagabond
a3f8489340
Move the .erl sorting to the right place
il y a 15 ans
Vagabond
c4d3f0ea65
Fix dependancy checking for headers by ensuring "include" is always in the eep IncludePath
il y a 15 ans
Vagabond
4ce01860e9
Compile parse transform and custom behaviours first
il y a 15 ans
Tuncer Ayaz
56e30351f7
Add install command target= var to bash completion
il y a 15 ans
Tuncer Ayaz
92e667b062
Add missing mode setting in Emacs file variables
il y a 15 ans
Tuncer Ayaz
23781ae460
Fix unused var warning
il y a 15 ans
theiw
8a3ad89f7c
Refactor eunit and cover
il y a 15 ans
Dave Smith
872076be3f
Adding cleaner module to permit users to specify their own set of files to delete
il y a 15 ans
Dave Smith
28d3b75641
Fix bug in templater where escript was not found in subdirs were specified in rebar.config; minor formatting cleanups
il y a 15 ans
Dave Smith
496851cefd
Add support for installing to a target directory as alternative to Erlang base dir
il y a 15 ans
Tuncer Ayaz
00c855d030
Update comment for filelib:ensure_dir/1 wrapper.
The wrapper can now be removed as I've fixed the problem in R13B04.
il y a 15 ans
Dave Smith
b0dfd233ae
Make sure to add ebin/ to current path when compiling doterl files; found by @sj_mackenzie
il y a 15 ans
Dave Smith
6714d47efb
Deal properly with env vars that have multiple = in the value
il y a 15 ans
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.
il y a 15 ans
Dave Smith
51133313a6
Updating template defs to use "template" in lieu of "file" directive
il y a 15 ans