aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)Author
2018-01-24Add support for Sphinx documentation builderStanislaw Klekot
2017-11-15Add output directory for generated EDocStanislaw Klekot
2017-11-15Disable colors for properLoïc Hoguin
The option was added recently.
2017-11-15Fix switched UID/GID in asciidoc installThomas Nixon
This caused asciidoc-install to fail with this message on my system, where UID != GID: install: cannot change ownership of 'installed/share/man3/erlang_mk.3.gz': Operation not permitted
2017-09-16Better implementation of removal of COVER_DATA_DIR if not emptyLoïc Hoguin
2017-09-15Fix removal of COVER_DATA_DIR if not emptyLoïc Hoguin
2017-09-13COVER_DATA_DIR for *.coverdatanevar
Also make COVER_REPORT_DIR not override user value (if set before include erlang.mk). Use incl_app in CT cover spec.
2017-08-23Style tweakLoïc Hoguin
2017-08-23Make Triq plugin pick tests from $(TEST_DIR)Krzysztof Jurewicz
This commit also changes Triq repository in package index to point to the leading fork. The original repository doesn’t work in Erlang 20.
2017-08-23Convert the run target to double-colonBenjamin Bergia
2017-08-14Add experimental pinning of Erlang/OTP versionLoïc Hoguin
By defining the ERLANG_OTP or ERLANG_HIPE variable, you can let Erlang.mk manage which version of Erlang/OTP will be used for your project. It will build it if necessary, and will activate it automatically when make is invoked.
2017-07-10Add initial plugin for properLoïc Hoguin
Should act the same way as the Triq plugin, making switching mostly painless, excluding the differences between the two libraries.
2017-05-25Update relx up to v3.23.0Stanislav Ovchar
2017-05-13Add a test for EDOC_SRC_DIRS and tweak the feature a bitLoïc Hoguin
2017-05-13edoc: apps to generate doc for default to ALL_APPS_DIRS + ALL_DEPS_DIRSJean Parpaillon
'source_path' property of edoc default to the list of explicit deps and apps Can be overriden with EDOC_SRC_DIRS In general, edoc options can be overriden with EDOC_OPTS, à la proplists 'source_path' edoc property is not recursive: look for source code in 'src' and 'c_src'
2017-05-13Convert legacy cover tests and fix a few issuesLoïc Hoguin
There are no more legacy tests. Enjoy!
2017-05-12Fix the test merged in the previous commitLoïc Hoguin
2017-05-12Fix make run on windowsStanislav Ovchar
2017-05-12plugins/xref.mk: Fetch xrefr 1.1.0Jean-Sébastien Pédron
In particular, xrefr 1.1.0 now exits with a non-zero exit status if there are any warnings reported. This makes `make xref` fail appropriately.
2017-05-12Make sure the build fails if a docs/rel/test/shell dep failsJean-Sébastien Pédron
Before this change, the build would continue, even if a dependency failed to build. This could lead to obscure errors in the middle of a testsuite for instance. With this change, the build fails immediately, exactly like when a regular dependency fails to build. While here, replace most uses of `|| exit $$?` with `set -e`. This simplifies error handling if we need to add more commands to each blocks. Also, echo error messages to stderr.
2017-05-10plugins/xref.mk: Disable variable expansion in help messageJean-Sébastien Pédron
Before this change, the help message for this plugin was: Xref targets: xref Run Xrefr using REF_CONFIG as config file if defined Note the missing `$X` before `REF_CONFIG`.
2017-05-10Fix paths in protobuffs pluginKevin Wilson
2017-04-27Add a test for plugin templates and fix an issue with themLoïc Hoguin
2017-04-25Fix invalid relx.config path on WindowsLoïc Hoguin
2017-04-25Fix of handling relx.config release versionKrister Svanlund
2017-04-25Accumulate eunit failures in multi-appsStanislav Ovchar
2017-04-25Use $(if) instead of ifeq and add a test for RELX_TAR=0Loïc Hoguin
2017-04-25Make tar-ball generation optional with relxStefan Hellkvist
2017-01-12plugins/syntastic.mk: New plugin to pass build options to SyntasticJean-Sébastien Pédron
Syntastic, an Erlang syntax checker plugin for Vim, uses the Erlang compile application to get compilation errors and warnings. Therefore it needs cooperation from the build system to get the appropriate compile flags. Currently it supports Rebar by parsing the configuration file. To add support for Erlang.mk, we need new Make targets to return the compile flags. This plugin adds three targets: o make show-ERL_LIBS o make show-ERLC_OPTS o make show-TEST_ERLC_OPTS Separate patches for Syntastic's builtin checker and syntaxerl are ready: they simply run those targets and parse the output.
2016-12-19plugins/escript.mk: Remove $(ESCRIPT_FILE) in distclean-escriptJean-Sébastien Pédron
... not $(ESCRIPT_NAME), which can be set to another value. While here, add a testcase for `make distclean`.
2016-12-02Make asciideck a little more verbose2016.12.08Loïc Hoguin
2016-11-29Give ebin paths when creating the PLTLoïc Hoguin
Before we had Dialyzer look for BEAM files in every subfolders of every deps. This resulted in the PLT bundling extra files and/or Dialyzer failing because some of them are not built with +debug_info, or because there are duplicates (in test logs for example). Now Dialyzer will only look in ebin/.
2016-11-26Add CT_LOGS_DIRnevar
2016-11-04Rename CI_HIPE_LLVM to CI_ERLLVMLoïc Hoguin
Official name after all.
2016-11-03Fix missing commaLoïc Hoguin
Oops! [ci skip]
2016-11-03Add experimental ErLLVM support in CILoïc Hoguin
The VM used to test LLVM built code is the --enable-native-libs one.
2016-11-03Add experimental HiPE support in CI2016.11.03Loïc Hoguin
2016-11-01Test asciidoc with more than one man sectionLoïc Hoguin
2016-10-31Switch asciidoc-manual to using AsciideckLoïc Hoguin
This is a start for moving from Python's Asciidoc to the Erlang implementation. Please report any issue with this change, I will fix everything at lightning speed!
2016-10-31Fix a missing file warningLoïc Hoguin
2016-10-30Fix running Dialyzer on apps/* when they have depsLoïc Hoguin
2016-10-30Greatly improve the escript supportLoïc Hoguin
The plugin can now easily generate escripts as complex as relx or rebar/rebar3. It generates a proper structure and allows embedding extra files by extending the escript-zip target. Documentation and tests have been added.
2016-10-30Use := instead of = for list of filesLoïc Hoguin
This will make sure we don't look twice. Also make a single call to find the common file formats rather than many calls.
2016-10-30Properly convert DTL files path on Windows/MSYS2Loïc Hoguin
2016-10-29Make the sfx plugin use the tarball from RelxLoïc Hoguin
Plus small tweaks.
2016-10-28Add "make relup"Loïc Hoguin
The initial documentation is a bit rough. It's getting late and I'd like to have this in sooner rather than later. :-)
2016-10-28Add sasl and runtime_tools to the default relx.configLoïc Hoguin
2016-10-28Set PROJECT_VERSION to 0.1.0 in templatesLoïc Hoguin
Makes more sense than 0.0.1.
2016-10-28Use an intermediate timestamp file to know when to touch source filesJean-Sébastien Pédron
The previous approach spawned a shell for every single source files. As we disable parallel make jobs, this is very time consuming. The new approach uses an intermediate timestamp file in $(ERLANG_MK_TMP) to record the last modification of any of $(MAKEFILE_LIST) and touch all source files in one command. Then, the .app file depends on this timestamp file. We test the existence of this timestamp file: if if doesn't exist, don't touch source files, they will be built anyway. $(PROJECT).d now depends directly on $(MAKEFILE_LIST); before, this dependency was indirect through $(ERL_FILES). Also, once $(ERL_FILES) were touched, we do the same with $(PROJECT).d because there is no need to regen it because of this.
2016-10-26Better FreeBSD fixLoïc Hoguin