Age | Commit message (Collapse) | Author |
|
We don't need the tarball in that scenario.
|
|
|
|
|
|
|
|
While using "-mode minimal" removes too much that we need
(such as inet_db), we can safely disable the distribution
by default and limit the number of processes and sockets
to a maximum of 1024.
|
|
|
|
Fixes #1004
|
|
|
|
The scrape file was updated to only seek "rebar3"
tagged packages. There are too many Elixir-only
packages tagged as "make".
|
|
|
|
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.
|
|
|
|
It will be removed at a later date.
|
|
This includes the SSL security fix for OTP-25+.
|
|
We use $1 instead of $(1) or $p instead of $(p) when possible,
except when building variable names (pkg_$(p)_name for example,
but also $(dep_fetch_$(1))).
|
|
This method dates back from the beginnings of Erlang.mk
and should not have been used for around a decade by now.
Adding "git" to the offending dep lines is enough to upgrade.
|
|
Use the query_* equivalents instead.
|
|
This should both be more solid and more secure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Erlang.mk will no longer feature packages out of the box,
except for the applications that we implement plugins for
(such as erlydtl, proper or relx) and the projects I work
on that are also used to test Erlang.mk (cowboy and friends).
This is a breaking change. In most cases the fix is to add
a full dep_* line for the dependencies that were used as
packages before.
|
|
The tests were waiting for the test group to finish before
they could continue with the next test group. Now "core"
and "all" targets directly depend on individual test cases,
allowing parallel Make to get to the next tests quicker and
removing 1/3rd of the total run time.
make check -j8 -k 5790,16s user 1207,08s system 627% cpu 18:35,49 total
make check -j8 -k 6250,13s user 1326,77s system 972% cpu 12:59,16 total
|
|
Most users surely have upgraded Erlang.mk since then.
|
|
We now provide the version as a tagged tuple indicating
whether this is a branch, tag or ref. This should help
rebar automatically upgrade dependencies, and remove
an annoying warning when rebar is used.
In order to detect the type of version the dependencies
must be available, therefore the rebar.config target now
depends on the deps target.
To test this the Cowboy package version had to be changed
from 1.0.4 to master. This is a breaking change, but I do
not expect too many people to still use 1.0.4.
|
|
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]>
|
|
This involved disabling a few things that will be
looked at later:
* proper/triq testing on Linux due to a suspected
Make bug (waiting for Make 4.4+ on GHA)
* Windows testing due to NIF compilation issues
suspected to be a bug in recent OTP versions
|
|
|
|
|
|
|
|
|
|
When switching between normal build and running tests
it takes a while for modules to be rebuilt. With the
beam-cache the files are saved and can be restored
when switching between contexts. This greatly speeds
up the context switching.
|
|
|
|
|
|
Instead of calling `find` we use $(wildcard ...) and some
logic on top to find all the files we are looking for.
This is more efficient and greatly helps reduce re-build
times when there's little to be done, particularly when
many dependencies are involved.
|
|
It's become hard to find a host that provides Subversion.
|
|
|
|
|
|
|
|
|
|
To make it easier to only prepare one for matrixes and such.
|
|
|