Age | Commit message (Collapse) | Author |
|
|
|
Should only be used during development. Stolen idea from
Tristan Sloughter who stole it from Ahmad Sherif.
This commit also introduces the 'erlang' function for
executing Erlang code written directly in the Makefile.
The rest of the project will eventually move to using it
as it's much cleaner than the previous solution.
|
|
This includes fetching and compilation. Example usage:
SKIP_DEPS=1 make tests
Should improve people's life when there are no Internets.
|
|
Rebased and moved ct.cover.spec into the test/ directory.
|
|
|
|
Avoids some annoying warnings when Common Test runs.
I believe this is a regression.
|
|
Compiles, runs tests and runs all sorts of analysis like Dialyzer.
|
|
|
|
|
|
|
|
|
|
Unless we return a non-zero result from the deps target, any issues in
the build of a dependency will be masked.
|
|
If rebar.config is found, the `deps` and `erl_first_files` options are
migrated to the Makefile for erlang.mk
|
|
|
|
|
|
Also added a copyright line in the eunit plugin due to the
extensive work I have done there a few days ago.
|
|
The point of this feature is to fix common issues users
experience.
This feature, when used, attempts to fix projects that
are incompatible with erlang.mk. It currently is able
to build a new Makefile based on information it finds
in a rebar.config file (only deps for now) and also
to fix the .app.src file in various ways.
|
|
The general idea is that erlang.mk now keeps track of what kind
of build it generated. A test build is valid for all subsequent
test target invocations. A normal build is only valid for itself
and releases.
This rework adds the ability to specify deps to eunit.
The EUNIT_DIR variable is gone in favor of a more global TEST_DIR.
The tests-ct target got renamed to ct and documented.
Many more minor changes were done during the course of testing
these changes.
|
|
No more plugin stuff creeping into core.
|
|
|
|
Use "+A0 -noinput -boot start_clean" as start argument.
Use halt/{1,2} to shutdown the VM faster.
|
|
Parallel compilation is now only enabled for "make" and "make deps app".
To ensure order we spawn a new Make process for "deps", "app" and
"rel" when the "all" target (or no target) is used.
|
|
|
|
|
|
|
|
|
|
People who don't want export_all simply don't use it. The
warning is annoying for those edge cases where it's actually
useful, as it can't be disabled on a per-file basis.
|
|
Smaller non-verbose output.
|
|
|
|
Fixed a small whitespace issue in the silent output.
|
|
|
|
|
|
This is unfortunately unsuited as a plugin due to its dependence on erlc
for compilation. The MIBs must be compiled before an Erlang source.
|
|
|
|
As much as I dislike this change, this should simplify the
process of moving to erlang.mk.
|
|
|
|
|
|
If all deps know where to download it, then don't download index file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The missing ; makes the DEPPKG= line run together with the VS= line which makes it similar to this
FreeBSD 8.2 /bin/sh results:
$ A=x B=$A;
$ echo $A
x
$ echo $B
$
The same with bash:
$ A=x B=$A;
$ echo $A
x
$ echo $B
x
|
|
|
|
git://github.com/crownedgrouse/erlang.mk
Extra changes include:
* Not running the target if the ebin/ directory does not exist
* Moved the target in the appropriate section in the file
|
|
|
|
An empty list is required for the modules tuple, as in
{modules, []}
so a sed call could populate the list. This is mentioned in README, but
can be overlooked.
If the empty tuple is not present, relx will fail on missing dependency
errors. Therefore, fail make if the empty tuple isn't found, to
help the user diagnose the problem.
|
|
If a dependency specified in DEPS is unknown or invalid (its VS
is not "git"), erlang.mk will fail. Now, add a human-readable
error message to help the user understand what the problem is.
|