aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)Author
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-27Set RELX_TAR=0 when using "make run"work-20241127Loïc Hoguin
We don't need the tarball in that scenario.
2024-11-26CI: Test the Hex pluginLoï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-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-19Use hex_core to fetch Hex packagesLoïc Hoguin
This should both be more solid and more secure.
2024-11-14Add hex_core as a proper Erlang.mk packageLoïc Hoguin
2024-11-14Update hex_core to v0.10.1Loïc Hoguin
2024-06-24fix: use REL_DEPS instead of BUILD_DEPS in plugins/bootstrap.mkzll600
2023-11-30Add an extra ci-prepare step for each OTPLoïc Hoguin
To make it easier to only prepare one for matrixes and such.
2023-05-23Remove deprecated --no_native option from dialyzerMichal Kuratczyk
2023-05-23Add a test for ESCRIPT_ZIP_FILE and abspath the valueLoïc Hoguin
This way we can just configure it to a local folder without having to use $(CURDIR).
2023-05-23Make parent directory of ESCRIPT_ZIP_FILEJames Aimonetti
ESCRIPT_ZIP is the executable, should ensure the parent directory of ESCRIPT_SIP_FILE exists first.
2023-05-16Remove support for HiPE and ErlLLVMLoïc Hoguin
2023-05-16Fix RELX_OUTPUT_DIRLoïc Hoguin
Was broken in the move to Relx v4.
2023-05-15Added static compilation option for NIFsDominic Letz
2023-05-15Replace 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-15docs(edoc): recursively find source pathspinicarus
2023-05-15Fix gpb proto compilation with importsLoï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-15Add EUNIT_TEST_SPEC variableArpit Tarang Saxena
Allows configuring setup/teardown or more complex test definitions.
2023-05-15Add COVER_EXCL_MODS variableJoseph Dunne
2023-05-12Add support for relx.config.script backTyler Hughes
It was removed accidentally when switching to Relx v4.
2023-05-12Fix compatibility with Relx v4 regarding {git, short} && {git, long}Oleksii Semilietov
2023-03-09Add missing dot breaking Relx eval after upgrade to Relx 4Loïc Hoguin
2022-11-10Fix code coverage for ct-* targetsLoïc Hoguin
Thanks to David Ansari for the report.
2022-08-30Removed hardcoded `-arch x86_64` for MacOS nifsDominic 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-31xref: Also ignore targets where applicableLoïc Hoguin
2022-05-31xref: Better handling of app scopeLoïc Hoguin
2022-05-30Revamp and document Xref supportLoïc Hoguin
2022-05-23Hopefully more portable bootstrap-rel fixLoïc Hoguin
2022-05-23Better fix for inserting BUILD_DEPS += relxLoïc Hoguin
2022-05-23Automatically add relx dependency on bootstrap-relLoïc Hoguin
2022-04-28fixup! Upgrade to Relx 4 which is now used as a libraryLoïc Hoguin
2022-04-27Upgrade to Relx 4 which is now used as a libraryLoïc Hoguin
2022-04-12Temporary, incomplete fix for OTP-25 RelxLoï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-25Dialyzer no longer supports -Wrace_conditions as of Erlang 25Michael Klishin
Closes #941
2020-11-30Add support for publishing Hex releases and docsLoïc Hoguin
2020-06-23plugins/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-18Add initial Concuerror integrationLoïc Hoguin
https://concuerror.com/
2020-04-17Fix non-verbose output for C/CPP targetsLoïc Hoguin
2020-03-25Remove -lerl_interface from the default LDLIBSLoïc Hoguin
The -lerl_interface library is getting removed in OTP-23.
2020-02-08Disable proto plugin if gpb/protobuffs not in depsLoïc Hoguin
2019-12-09plugins/c_src.mk: Deduce directory to create from $@Jean-Sébastien Pédron
... instead of hard-coding `priv`.
2019-06-24Fix more path issues on WindowsLoïc Hoguin
2019-06-22Fix the EDOC_SRC_DIRS paths on WindowsLoïc Hoguin
2019-06-22Fix the ct.cover.spec file paths on WindowsLoïc Hoguin
2019-06-17Set locale to `C` when checking bootstrapped app nameJean-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-11Remove -finline-functions from OSX by defaultLoïc Hoguin
Since it's not available via clang and that's the default there.
2018-12-11Fix a bug where ct-* targets produced an empty GEN lineLoïc Hoguin
$ must be escaped as $$ in templates.
2018-12-10Optimization: reduce the number of shell commands on noopsLoïc Hoguin