Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
|
|
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...
|