Age | Commit message (Collapse) | Author |
|
|
|
|
|
Templates now no longer use Make variables for substitution
but instead replace strings with their equivalent:
template_name: Corresponds to n=template_name
project_name: Corresponds to $(PROJECT) or in=project_name
This allows defining templates outside of Makefiles. For
example an external plugin could define their templates
in templates/my_template.erl and then have the following
in the included Makefile:
tpl_my_template = $(file < $(THIS)/templates/my_template.erl)
By default the created file will be in src/template_name.erl.
This can be overriden with the tplp_* variable:
tplp_my_template = src/model/my_template.erl
Substitution is applied both to the template contents and
to its path.
In addition, attempting to overwrite an existing file when
creating a template will result in failure.
|
|
Use the query_* equivalents instead.
|
|
|
|
LH: Expanded on the initial suggestion.
Signed-off-by: Yun Seong Kim <[email protected]>
|
|
Update new download links on docs.
Signed-off-by: Yun Seong Kim <[email protected]>
|
|
|
|
|
|
|
|
"With this type of specification execution of unwanted groups (in
otherwise matching paths), and/or the execution of subgroups can be
avoided. The command line syntax of the group path is a list of group
names in the path"
|
|
Loïc: Added more info to guide.
|
|
|
|
Hut has both a Makefile and erlang.mk but the default target
does not build the project. To fix a few packages we have a
special patch HUT_PATCH that will call the appropriate target.
|
|
We expect users to fetch these projects from hex.pm now
and the packages no longer worked.
|
|
|
|
|
|
|
|
Add dep_cowboy_commit 2.8.0 and a note in the user guide
dependencies section that the versions in the package index
are not always up to date.
|
|
https://concuerror.com/
|
|
|
|
|
|
The query-deps, query-doc-deps, query-rel-deps, query-test-deps
and query-shell-deps targets go through dependencies and print
some information about them:
$ make query-deps
...
cowboy: cowlib git https://github.com/ninenines/cowlib 2.7.3
cowboy: ranch git https://github.com/ninenines/ranch 1.7.1
$ make query-deps QUERY="name repo version absolute_path"
...
cowboy: cowlib https://github.com/ninenines/cowlib 2.7.3 /path/to/deps/cowlib
cowboy: ranch https://github.com/ninenines/ranch 1.7.1 /path/to/deps/ranch
The query-deps target is recursive; the others aren't. This
mirrors the behavior when fetching and building dependencies.
The full list of options is:
QUERY="fetch_method name repo version extra absolute_path"
When an option has no corresponding value, "-" will be printed.
For example most fetch methods do not have extra information to
print. When there is extra information, the value will be prefixed
with a descriptive name. For example: package-name=uuid_erl
This commit also introduces changes to deps handling: some of
the functions for querying will now be used directly. In the
future the goal is to remove the old dep_name, dep_commit, etc.
functions and replace their usage with the new query functions.
Custom fetch methods should implement query functions in order
to have information about the relevant dependencies printed
properly.
|
|
Properly fixes partisan.
|
|
There are issues with -j in 4.1 and earlier.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Unless it's a symbolic link, it's built directly, FULL=1 is set
or the file ebin/dep_built in the dependency is removed.
See the documentation changes for more details.
This provides immense build speed gains, for example on a
RabbitMQ project it went from 10s to 1s for the 2nd+ builds.
|
|
|
|
And a workaround to force a specific version to be downloaded.
|
|
It's better than extending help:: because this gets printed
at the end instead of before Erlang.mk's own help.
|
|
|
|
|
|
|
|
While the solution is not the best we could do it's better
than nothing.
|
|
|
|
It clones and checkouts like the git fetch method, but
does so in the Erlang.mk temporary directory. It then
creates a symbolic link to the subfolder for the dependency.
|
|
|
|
|
|
This is based on the documentation of the EUnit plugin.
|
|
|
|
LH: I have added the example without a separate file and
tweaked the wording a bit.
|
|
[skip ci]
|
|
|
|
|