Age | Commit message (Collapse) | Author |
|
|
|
Adds neo4j and shotgun back to the package index.
|
|
* Generate configure if there is only configure.ac
* Don't touch the .app/.app.src if neither exists
|
|
|
|
Also fix a number of issues with packages from the index.
Some packages were temporarily removed and will be added back
once they build correctly.
|
|
|
|
This includes fetching and compilation. Example usage:
SKIP_DEPS=1 make tests
Should improve people's life when there are no Internets.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
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
|
|
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.
|
|
|
|
|
|
Two issues got fixed:
* The variable name for the package file got changed to PKG_FILE2
to avoid conflicts with the PKG_FILE from previous erlang.mk versions.
* The way repositories are fetched changed to fix an issue preventing
fetching the package file *and* the repositories on the same invokation.
|
|
|
|
|
|
|
|
This commit adds two columns to the package index file: the
method used to retrieve the dependency (only git supported
at this point) and the preferred version (a commit or
equivalent in the case of git).
Now that all the necessary information is in the package
index file, the dep_* lines become optional. It is possible
to fetch dependencies by just listing it in the DEPS variable,
for example this would fetch both cowboy and jsx:
DEPS = cowboy jsx
The dep_* line can be used to override the defaults. It now
takes three values, the method used to retrieve the dependency,
the repository URL and the preferred version. The only change
from before is the first value being added.
|
|
|
|
GitHub issues a 301 Moved Permanently response on all calls to
`https://raw.github.com`, which redirects to
`https://raw.githubusercontent.com`.
|
|
* The build.config says what gets into the generated erlang.mk.
* The default erlang.mk in the repository hasn't changed yet.
* Clean targets were separated into "clean" and "distclean".
* The "help" target was added to display some help message.
I probably broke a couple things...
|