aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)Author
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
2016-10-26FreeBSD doesn't use tar -c with -OLoïc Hoguin
2016-10-26Add self-extracting/running archives for releasesLoïc Hoguin
This is a proof of concept at the moment. It only runs the release in 'console' mode at the moment. I am expecting users to want a mix of both self extracting (without removing when done) and self running (with removal when done) archives. There is currently no way to configure the behavior and so the files get deleted when the release terminates (self running use case). The SFX archive will only be created when the SFX variable is set (either in the Makefile or through the command-line). There are currently no documentation. Just "make SFX=1".
2016-10-25Use the ERLANG_MK_TMP variable in plugins/ci.mkLoïc Hoguin
2016-10-25Move relx to the temporary directoryLoïc Hoguin
2016-10-25Fetch kerl with --depth 1Loïc Hoguin
We always want the most recent version and only this.
2016-10-25Add KERL_MAKEFLAGS optionLoïc Hoguin
2016-10-25Fetch kerl using gitLoïc Hoguin
Safer than through insecure HTTPS.
2016-10-25Add ci-prepare to .PHONYLoïc Hoguin
2016-10-21Update Copyright notices2016.10.21Loïc Hoguin
2016-10-20Fix several problems with the erlydtl plugin:Jared Flatow
DTL_SUFFIX: - make sure it is actually used - add a test for it (and one combined with other options) DTL_PATH: - handle correctly with or without trailing / - don't hard-code the `doc_root` opt - the erlydtl default is better
2016-10-04Fix path issues when running triq tests on WindowsLoïc Hoguin
2016-10-04Fix a small inconsistency when building for CILoïc Hoguin
We need to clean before attempting to wildcard ebin/test. To do that, we need to invoke "make clean" separately.
2016-09-13Merge branch 'fix-dialyzer-ERLC_OPTS-filtering' of ↵Loïc Hoguin
https://github.com/rabbitmq/erlang.mk
2016-09-08dialyzer.mk: Use the shell to parse command line argsJean-Sébastien Pédron
Splitting arguments on `-` was dangerous: if a path contained such a character, it would be split and the second half thrown away by the filtering. Now, `$(ERLC_OPTS)` is passed to erl(1) after `-extra`. Thus arguments parsing is done by the shell and we only have to call init:get_plain_arguments/0 to get them as a list.
2016-09-08plugins/xref.mk: Fix typo in variable `XREFR_ARGS`Jean-Sébastien Pédron
2016-04-21Bump relx version to 3.19.0Hakan Nilsson
2016-04-05 Add fullpath to ebin/crownedgrouse
Allow eunit test to access to project's priv_dir.
2016-04-03Add possibility to specify custom ErlyDTL optionsKrzysztof Jurewicz
2016-03-19Merge branch 'cover_badarith_fix' of https://github.com/hdima/erlang.mkLoïc Hoguin
2016-03-19Merge branch 'add_tpl_empty' of https://github.com/ingwinlu/erlang.mkLoïc Hoguin
2016-03-19escript file maybe different from escript nameZaiming Shi
2016-03-19Merge branch 'multi_app_ct' of https://github.com/ingwinlu/erlang.mkLoïc Hoguin
2016-02-26Correct output of bootstrap help targetderwinlu
2016-02-17Add 'module' templatederwinlu
Every .erl source file will need at least a -module and a single -export definition. With the 'module' template a file can be quickly created that already populates -module with the right value as well as an empty export field.
2016-02-08Fix ct for multi-app repositoriesderwinlu
* Include $(APPS_DIR)/*/ebin in CT_RUN * test-build before ct-apps * Test that my_lib is accessible from my-app ct
2016-01-24Export CC on WindowsLoïc Hoguin
Considering we require this compiler, we should set a good default for all sub-Makefiles.
2016-01-22Allow running apps/ ct test suites in parallelLoïc Hoguin
I'm mostly trying to fix tests when ran in parallel, although this is also a nice optimization for those who use multi-app repositories.