Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-02-11 | Add support for specifying Hex requirements for dependencies | Loï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-27 | Set RELX_TAR=0 when using "make run"work-20241127 | Loïc Hoguin | |
We don't need the tarball in that scenario. | |||
2024-11-26 | CI: Test the Hex plugin | Loïc Hoguin | |
2024-11-22 | Move templates outside the source .mk files | Loï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-19 | Use short variable names when possible | Loï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-19 | Use hex_core to fetch Hex packages | Loïc Hoguin | |
This should both be more solid and more secure. | |||
2024-11-14 | Add hex_core as a proper Erlang.mk package | Loïc Hoguin | |
2024-11-14 | Update hex_core to v0.10.1 | Loïc Hoguin | |
2024-06-24 | fix: use REL_DEPS instead of BUILD_DEPS in plugins/bootstrap.mk | zll600 | |
2023-11-30 | Add an extra ci-prepare step for each OTP | Loïc Hoguin | |
To make it easier to only prepare one for matrixes and such. | |||
2023-05-23 | Remove deprecated --no_native option from dialyzer | Michal Kuratczyk | |
2023-05-23 | Add a test for ESCRIPT_ZIP_FILE and abspath the value | Loïc Hoguin | |
This way we can just configure it to a local folder without having to use $(CURDIR). | |||
2023-05-23 | Make parent directory of ESCRIPT_ZIP_FILE | James Aimonetti | |
ESCRIPT_ZIP is the executable, should ensure the parent directory of ESCRIPT_SIP_FILE exists first. | |||
2023-05-16 | Remove support for HiPE and ErlLLVM | Loïc Hoguin | |
2023-05-16 | Fix RELX_OUTPUT_DIR | Loïc Hoguin | |
Was broken in the move to Relx v4. | |||
2023-05-15 | Added static compilation option for NIFs | Dominic Letz | |
2023-05-15 | Replace erlang:get_stacktrace() with catch C:E (V=0) or C:E:S (V>0) | Viktor Söderqvist | |
This makes us compatible with OTP < 21, except when V (verbose) is set. | |||
2023-05-15 | docs(edoc): recursively find source paths | pinicarus | |
2023-05-15 | Fix gpb proto compilation with imports | Loïc Hoguin | |
The option {i, ...} is added for every directory containing proto files. The option {use_packages, true} was added as well to allow using packages. This is not the default for historic reasons in gpb but it makes better sense to have it as default so we do it. | |||
2023-05-15 | Add EUNIT_TEST_SPEC variable | Arpit Tarang Saxena | |
Allows configuring setup/teardown or more complex test definitions. | |||
2023-05-15 | Add COVER_EXCL_MODS variable | Joseph Dunne | |
2023-05-12 | Add support for relx.config.script back | Tyler Hughes | |
It was removed accidentally when switching to Relx v4. | |||
2023-05-12 | Fix compatibility with Relx v4 regarding {git, short} && {git, long} | Oleksii Semilietov | |
2023-03-09 | Add missing dot breaking Relx eval after upgrade to Relx 4 | Loïc Hoguin | |
2022-11-10 | Fix code coverage for ct-* targets | Loïc Hoguin | |
Thanks to David Ansari for the report. | |||
2022-08-30 | Removed hardcoded `-arch x86_64` for MacOS nifs | Dominic Letz | |
For current macs the flag seems problematic as it overrides the default choice of building for the current architecture and hence prevents building on ARM based macs. | |||
2022-05-31 | xref: Also ignore targets where applicable | Loïc Hoguin | |
2022-05-31 | xref: Better handling of app scope | Loïc Hoguin | |
2022-05-30 | Revamp and document Xref support | Loïc Hoguin | |
2022-05-23 | Hopefully more portable bootstrap-rel fix | Loïc Hoguin | |
2022-05-23 | Better fix for inserting BUILD_DEPS += relx | Loïc Hoguin | |
2022-05-23 | Automatically add relx dependency on bootstrap-rel | Loïc Hoguin | |
2022-04-28 | fixup! Upgrade to Relx 4 which is now used as a library | Loïc Hoguin | |
2022-04-27 | Upgrade to Relx 4 which is now used as a library | Loïc Hoguin | |
2022-04-12 | Temporary, incomplete fix for OTP-25 Relx | Loïc Hoguin | |
This will not make release upgrades work for OTP-25. We need to move on to Relx 4 in order to fix those. | |||
2022-03-25 | Dialyzer no longer supports -Wrace_conditions as of Erlang 25 | Michael Klishin | |
Closes #941 | |||
2020-11-30 | Add support for publishing Hex releases and docs | Loïc Hoguin | |
2020-06-23 | plugins/concuerror.mk: Use $(MAKE) instead of hard-coding `make` | Jean-Sébastien Pédron | |
This fixes the plugin when e.g. GNU Make is installed as `gmake` (and `make` is another incompatible implementation). | |||
2020-06-18 | Add initial Concuerror integration | Loïc Hoguin | |
https://concuerror.com/ | |||
2020-04-17 | Fix non-verbose output for C/CPP targets | Loïc Hoguin | |
2020-03-25 | Remove -lerl_interface from the default LDLIBS | Loïc Hoguin | |
The -lerl_interface library is getting removed in OTP-23. | |||
2020-02-08 | Disable proto plugin if gpb/protobuffs not in deps | Loïc Hoguin | |
2019-12-09 | plugins/c_src.mk: Deduce directory to create from $@ | Jean-Sébastien Pédron | |
... instead of hard-coding `priv`. | |||
2019-06-24 | Fix more path issues on Windows | Loïc Hoguin | |
2019-06-22 | Fix the EDOC_SRC_DIRS paths on Windows | Loïc Hoguin | |
2019-06-22 | Fix the ct.cover.spec file paths on Windows | Loïc Hoguin | |
2019-06-17 | Set locale to `C` when checking bootstrapped app name | Jean-Sébastien Pédron | |
At least on FreeBSD, the `en_US.UTF-8` locale I use breaks the check. It might be a bug on FreeBSD because I don't understand why it would affect the behaviour of that simple regex. Nonetheless, let's override the locale to make sure this does not happen again. | |||
2018-12-11 | Remove -finline-functions from OSX by default | Loïc Hoguin | |
Since it's not available via clang and that's the default there. | |||
2018-12-11 | Fix a bug where ct-* targets produced an empty GEN line | Loïc Hoguin | |
$ must be escaped as $$ in templates. | |||
2018-12-10 | Optimization: reduce the number of shell commands on noops | Loïc Hoguin | |