aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)Author
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
2018-12-07Make sure we go through all deps when building escriptsLoïc Hoguin
2018-12-07Fix distclean of cover dirs when they are the sameLoïc Hoguin
2018-12-07Add COVER_APPS and COVER_DEPS to cover compile other apps/depsLoïc Hoguin
By default COVER_APPS will cover compile all apps. COVER_DEPS will not cover compile any dependency by default, however.
2018-12-06Add cover support for PropEr and TriqLoïc Hoguin
2018-12-06Default COVER_DATA_DIR now the same as COVER_REPORT_DIRLoïc Hoguin
We have a dedicated folder for cover stuff, let's use it.
2018-12-05SKIP_DEPS should also skip shell depsLoïc Hoguin
2018-12-05Implement the dep_built optimization for test/shell depsLoïc Hoguin
2018-12-05Silence ci-setup and ci-extra when they're not extendedLoïc Hoguin
2018-12-05Better handle ERLANG_OTP and ERLANG_HIPELoïc Hoguin
A release that gets removed in a ci:: preceding the running of CI rules would end up not rebuilding it due to how a warning was silenced when using ERLANG_OTP.
2018-12-04Rebuild the PLT file when the Erlang/OTP version has changedLoïc Hoguin
2018-12-04Fix and document Dialyzer against beam filesLoïc Hoguin
2018-11-30Update Relx to v3.27.0Loïc Hoguin
2018-11-30Hide some pointless output behind V=1Loïc Hoguin
2018-11-30Make "make run" work for non-extended releases tooLoïc Hoguin
2018-11-30Fix Dialyzer when a project has and uses parse transformsLoïc Hoguin
2018-11-29Rebuild the env.mk file when the Erlang/OTP has changedLoïc Hoguin
We also rebuild the C code since C code tends to not stay compatible between different Erlang versions. Based on a patch by Slava Yurin.
2018-11-29Rebuild C projects when Makefiles changeLoïc Hoguin
2018-11-28Rename the rel/ directory to config/ by defaultLoïc Hoguin
2018-11-28Add option DTL_PREFIX for erlydtl-produced module namesLoïc Hoguin
2018-11-28Add built-in support for gpb for building proto filesLoïc Hoguin
When gpb is found in DEPS or BUILD_DEPS then it is used instead of erlang_protobuffs.
2018-11-28Modernize the protobuffs pluginLoïc Hoguin
2018-11-27Remove some unnecessary -pa argumentsLoïc Hoguin
They're already in ERL_LIBS.
2018-11-27Fix jobserver unavailable warningsLoïc Hoguin
When the $(MAKE) is inside an $(eval $(call ...)) then it needs to be escaped as $$(MAKE). When the $(MAKE) is inside a $(call ...) then I did not figure out a way other than passing it as an argument. When the $(MAKE) is inside many levels of $(call $(call ...)) it's easier to avoid it if at all possible, so I replaced the rebar $(MAKE) call with ./bootstrap. I confirmed it works fine on Windows as well.
2018-11-26Allow running test cases without groups in CTLoïc Hoguin
2018-11-26Rename render_template to core_render and move into coreLoïc Hoguin
Also remove the last instance of an "eval export" that pollutes the environment and use the new core_render for it instead. core_render does not include $(verbose) as this needs to be different depending on who calls it. It's now set explicitly everywhere required.
2018-11-26Use two colons for the shell targetLoïc Hoguin
2018-11-26Propagate the effects of V=1 to relxLoïc Hoguin
2018-11-26Don't include applications with no ebin/ directory in escriptsLoïc Hoguin
2018-11-26Fix propagation of SP in sub-appsLoïc Hoguin
And some refactor and additional testing for overriding. Turns out we can override some variables even if ?= is not used, so nothing had to be done to support overriding.
2018-11-25Build issues testing multi-apps projectsLoïc Hoguin
I've reworked how the multi-apps projects are built. In particular I've made sure the test build is made from the top-level once, and then only tests are run on this build. It used to build multiple times and some builds would not include test mode, not good. I've also fixed issues with running tests in parallel. All tests now pass with -j8 on my machine. It's possible more issues remain that are not covered by tests yet though.
2018-11-24Disallow uppercase characters in application namesLoïc Hoguin
2018-11-24Error out on dash characters during bootstrapLoïc Hoguin
2018-11-24Don't try to create a nif if n wasn't providedLoïc Hoguin
2018-11-24Add a warning to not edit env.mkLoïc Hoguin
2018-11-24Improve ct/eunit testsLoïc Hoguin
Also don't run eunit if there's no src/test directory.
2018-11-23Ensure apps eunit tests only run once when called directlyLoïc Hoguin
2018-11-23Allow overriding APPS_DIR/DEPS_DIR in appsLoïc Hoguin
2018-11-23Ensure apps have APPS_DIR and DEPS_DIR definedLoïc Hoguin
So they can use include files and other from other apps when they're built directly, and that they use the same deps directory.
2018-11-23Allow keeping the CT logs on distcleanLoïc Hoguin
This is useful for CI scenarios.
2018-11-22Add relx-post-rel hookOleg Nemanov
This hook can be used, for example, to copy additional files to release before it is tared by relx.
2018-09-12Hide asciidoc-manual commandsLoïc Hoguin