Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-12-07 | Autopatch: allow configuring REBAR_GIT and REBAR_COMMIT | Loïc Hoguin | |
And use this in the tests to fetch Rebar only once and then clone from the local repository. This should speed up tests a little. | |||
2018-12-07 | Make sure we go through all deps when building escripts | Loïc Hoguin | |
2018-12-07 | Add COVER_APPS and COVER_DEPS to cover compile other apps/deps | Loïc Hoguin | |
By default COVER_APPS will cover compile all apps. COVER_DEPS will not cover compile any dependency by default, however. | |||
2018-12-06 | Add cover support for PropEr and Triq | Loïc Hoguin | |
2018-12-06 | Default COVER_DATA_DIR now the same as COVER_REPORT_DIR | Loïc Hoguin | |
We have a dedicated folder for cover stuff, let's use it. | |||
2018-12-05 | Fix verbosity of proper and triq tests | Loïc Hoguin | |
2018-12-05 | Allow hooking before/after autopatch | Loïc Hoguin | |
2018-12-04 | Fix and document Dialyzer against beam files | Loïc Hoguin | |
2018-12-04 | Delete $(ERLANG_MK_TMP) directory after 'make erlang-mk' | Loïc Hoguin | |
This allows refreshing tools at the same time Erlang.mk gets updated. | |||
2018-12-03 | Print a changelog when updating Erlang.mk | Loïc Hoguin | |
2018-12-03 | Don't rebuild dependencies by default | Loïc Hoguin | |
Unless it's a symbolic link, it's built directly, FULL=1 is set or the file ebin/dep_built in the dependency is removed. See the documentation changes for more details. This provides immense build speed gains, for example on a RabbitMQ project it went from 10s to 1s for the 2nd+ builds. | |||
2018-12-03 | Move autopatch tests into their own test suite | Loïc Hoguin | |
2018-11-30 | Validate the .app file after generating it | Loïc Hoguin | |
2018-11-30 | Fix Dialyzer when a project has and uses parse transforms | Loïc Hoguin | |
2018-11-30 | Correct expanding of shell variables in autopatch | Loïc Hoguin | |
The $(...) form was improperly converted. In addition it must be changed into a $(shell ...) form. | |||
2018-11-30 | Add test for plugins that include the word rebar | Loïc Hoguin | |
Seems that was fixed a while ago. | |||
2018-11-30 | Add autopatch for LFE projects | Loïc Hoguin | |
Currently experimental. It'll enable lfe.mk when it encounters the rebar3 plugin lfe-compile. Tested against some small library. Note that it adds lfe as a build dependency with no version given so the latest master will be fetched right now. This can be overriden in the parent project. | |||
2018-11-29 | Add the target help-plugins to document external plugins | Loïc Hoguin | |
It's better than extending help:: because this gets printed at the end instead of before Erlang.mk's own help. | |||
2018-11-29 | Rebuild C projects when Makefiles change | Loïc Hoguin | |
2018-11-28 | Rename the rel/ directory to config/ by default | Loïc Hoguin | |
2018-11-28 | Add option DTL_PREFIX for erlydtl-produced module names | Loïc Hoguin | |
2018-11-28 | Fix asn1 compilation with the +maps option | Loïc Hoguin | |
When this option is used no include file is generated. Therefore don't error out if no include file can be found. | |||
2018-11-28 | Add built-in support for gpb for building proto files | Loïc Hoguin | |
When gpb is found in DEPS or BUILD_DEPS then it is used instead of erlang_protobuffs. | |||
2018-11-28 | Modernize the protobuffs plugin | Loïc Hoguin | |
2018-11-27 | Fix jobserver unavailable warnings | Loï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-26 | Allow running test cases without groups in CT | Loïc Hoguin | |
2018-11-26 | Remove a non-portable "echo -n" from a test | Loïc Hoguin | |
2018-11-26 | Remove some non-portable "echo -e" from a couple tests | Loïc Hoguin | |
2018-11-26 | Use two colons for the shell target | Loïc Hoguin | |
2018-11-26 | Don't include applications with no ebin/ directory in escripts | Loïc Hoguin | |
2018-11-26 | Add or improve tests based on false flag reports | Loïc Hoguin | |
2018-11-26 | Fix propagation of SP in sub-apps | Loï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-26 | Fix badly written tests failing when LEGACY=1 | Loïc Hoguin | |
2018-11-26 | Disable Asciidoc tests requiring DocBook if not installed | Loïc Hoguin | |
The toolchain is too heavy for CI. Gotta wait for me to finish the work on Asciideck for building HTML pages. | |||
2018-11-26 | Disable sphinx tests when it isn't installed | Loïc Hoguin | |
2018-11-26 | Tweak a few tests so they run on all platforms | Loïc Hoguin | |
2018-11-26 | Add test for autopatch with two Rebar projects | Loïc Hoguin | |
2018-11-25 | Build issues testing multi-apps projects | Loï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-25 | Fix a shell test when run in parallel | Loïc Hoguin | |
2018-11-25 | Build $(PROJECT).d in a separate $(MAKE) call | Loïc Hoguin | |
This avoids the issue where clean will remove a file that was otherwise generated and won't be regenerated. This might also help with parallel building. | |||
2018-11-24 | Test case for yecc, switching between test mode and normal mode | Hugo Mills | |
With a yecc grammar in the project, and this sequence of commands: $ make clean $ make check $ make $ make the "make check" succeeds. The first "make" fails because the .erl file built from the .yrl file doesn't exist. The second "make" succeeds. Add a test case for this situation. Signed-off-by: Hugo Mills <[email protected]> | |||
2018-11-24 | Add the git-subfolder fetch method | Loïc Hoguin | |
It clones and checkouts like the git fetch method, but does so in the Erlang.mk temporary directory. It then creates a symbolic link to the subfolder for the dependency. | |||
2018-11-24 | Fix a test that used invalid application names | Loïc Hoguin | |
2018-11-24 | Move apps tests in their own file and fix a test case | Loïc Hoguin | |
2018-11-24 | Disallow uppercase characters in application names | Loïc Hoguin | |
2018-11-24 | Error out on dash characters during bootstrap | Loïc Hoguin | |
2018-11-24 | Don't try to create a nif if n wasn't provided | Loïc Hoguin | |
2018-11-24 | Update the OTP-REG.mib file download location | Loïc Hoguin | |
2018-11-24 | Improve ct/eunit tests | Loïc Hoguin | |
Also don't run eunit if there's no src/test directory. | |||
2018-11-23 | Ensure apps eunit tests only run once when called directly | Loïc Hoguin | |