aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2 daysDocument native Elixir supportHEADnative-elixirmasterLoïc Hoguin
2 daysNative Elixir supportTyler Hughes
This commit also includes a way to completely disable Eunit as that is generally desirable for Elixir-only projects.
6 daysAdd missing core_native_path call to Hex fetchLoïc Hoguin
Was failing on Windows in lz4-erlang without it.
2025-02-11Update Elixir test version for hex testsLoïc Hoguin
2025-02-11Add support for specifying Hex requirements for dependenciesLoïc Hoguin
This allows overriding the default which is to use the same explicit version as the dep_* line, and instead specify ranges of versions.
2024-11-28Deprecate Rebar2 projects autopatchingLoïc Hoguin
2024-11-27Set RELX_TAR=0 when using "make run"work-20241127Loïc Hoguin
We don't need the tarball in that scenario.
2024-11-27Update Discord link to a permanent invitefaster-erlLoïc Hoguin
2024-11-27Update CHANGELOGLoïc Hoguin
2024-11-26CI: Test the Hex pluginLoïc Hoguin
2024-11-26Make $(ERL) fasterLoïc Hoguin
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.
2024-11-25Add test case for rebar git_subdir autopatchci-for-pr-1005Loïc Hoguin
2024-11-25Fix conversion of git_subdir to git-subfolderRoger Lipscombe
Fixes #1004
2024-11-25CI: Check select Hex.pm packagestest-some-hex-packagesLoïc Hoguin
2024-11-25Update hexpm_packages.txtLoïc Hoguin
The scrape file was updated to only seek "rebar3" tagged packages. There are too many Elixir-only packages tagged as "make".
2024-11-25Check templates independently from testsLoïc Hoguin
2024-11-22Move templates outside the source .mk filesLoïc Hoguin
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.
2024-11-21Fix infinite loop when fetching amqp_client deps via Hexfix-amqp_clientLoïc Hoguin
2024-11-21Reinstate dep_name as it's still used by RabbitMQ pluginsLoïc Hoguin
It will be removed at a later date.
2024-11-19Update hex_core to current masterremove-most-packagesLoïc Hoguin
This includes the SSL security fix for OTP-25+.
2024-11-19Use short variable names when possibleLoïc Hoguin
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))).
2024-11-19Remove legacy fetch methodLoïc Hoguin
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.
2024-11-19Remove deprecated dep_fetch, dep_name, dep_repo, dep_commitLoïc Hoguin
Use the query_* equivalents instead.
2024-11-19Use hex_core to fetch Hex packagesLoïc Hoguin
This should both be more solid and more secure.
2024-11-19CI: Also test with CACHE_DEPS=1Loïc Hoguin
2024-11-15CI: Trick GH runners into picking slower jobs earlyLoïc Hoguin
2024-11-15CI: Run Dialyzer tests in parallel jobsLoïc Hoguin
2024-11-15Add Discord server to README and Getting StartedLoïc Hoguin
2024-11-15CI: Use parallel MakeLoïc Hoguin
2024-11-14CI: Add Erlang.mk packages testingLoïc Hoguin
2024-11-14Add hex_core as a proper Erlang.mk packageLoïc Hoguin
2024-11-14Update changelogLoïc Hoguin
2024-11-14Update Cowlib/Ranch versions in the index to masterLoïc Hoguin
2024-11-14Update hex_core to v0.10.1Loïc Hoguin
2024-11-14Remove most packagesLoïc Hoguin
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.
2024-11-13Greatly speed up test speed with -jLoïc Hoguin
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
2024-11-13Remove packages.v2.tsvLoïc Hoguin
Most users surely have upgraded Erlang.mk since then.
2024-11-13Improve rebar.config generationimprove-rebar-configLoïc Hoguin
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.
2024-11-05Clarify project naming in getting startedYun Seong Kim
LH: Expanded on the initial suggestion. Signed-off-by: Yun Seong Kim <[email protected]>
2024-11-05Update erlang downloads links on docsYun Seong Kim
Update new download links on docs. Signed-off-by: Yun Seong Kim <[email protected]>
2024-11-04Make CI greenmake-ci-greenLoïc Hoguin
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
2024-10-03CI: Add diffutils as a required package for WindowsLoïc Hoguin
2024-10-03CI: Disable macOS and improve WindowsLoïc Hoguin
2024-10-01Initial GitHub Actions test workflowLoïc Hoguin
2024-10-01Remove unnecessary legacy documentationLoïc Hoguin
2024-10-01Initial beam-cache implementationLoïc Hoguin
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.
2024-10-01Update cuttlefish package branch from master to mainLoïc Hoguin
2024-06-24fix: use REL_DEPS instead of BUILD_DEPS in plugins/bootstrap.mkzll600
2024-06-21Don't use the shell in core_findLoïc Hoguin
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.
2024-06-21Comment-out core-deps-fetch-svn testLoïc Hoguin
It's become hard to find a host that provides Subversion.