aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)Author
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.
2016-01-16Fix eunit not running if there are no beamsLoïc Hoguin
I'm not sure how to reproduce the issue some people experienced (OS, make version maybe? who knows) but I got a report that this fixes it. It's also definitely the "right" way to do this.
2016-01-09Add AsciiDoc tests and documentationLoïc Hoguin
Also fixes install-docs to allow installing regardless of being root or a normal user. The current user/group will be used for the installed files.
2016-01-09Test and document EDocLoïc Hoguin
A change was made to the automatic EDoc generation when running 'make docs'. It is now only done if a doc/overview.edoc file exists. This behavior can of course be enabled back by adding it to the Makefile.
2015-12-30List third party plugins; remove ElvisLoïc Hoguin
This is a breaking change for Elvis users, who should now use the external plugin available at https://github.com/inaka/elvis.mk
2015-12-29Add Common Test docs and testsLoïc Hoguin
Also fixes issues with multi application repositories, and add support for running a specific group/case in a given test suite.
2015-12-24Work around an auto completion bug with ZSHLoïc Hoguin
At the same time update the Makefile templates which were missing PROJECT_DESCRIPTION and PROJECT_VERSION fields.
2015-12-24Add EUNIT_ERL_OPTS variableLoïc Hoguin
2015-12-24Add EUnit tests and documentationLoïc Hoguin
Also includes a fix for multi-application repositories.
2015-12-15Fix parallel issues caused by ErlyDTLLoïc Hoguin
Issues were introduced by f58af72831338efba4d5e20898cf92c0ed9f1c0f. In addition some rework has been done: * We don't care about src/, only about templates/ * Fix a misplaced closing paren (why was it working before?) * Move most of the rules and defines inside the ifdef
2015-12-14Fix compilation of NIFs on WindowsLoïc Hoguin
Thanks to two users of the ninenines/esdl2 project, a correct way to build NIFs on Windows has been found. At the moment we require a specific compiler (MingW's gcc). Maybe we can change this in the future and allow Visual Studio and others. Some small changes have been made to the documentation, and the meaning of one configuration variable has changed to not include the extension (which is decided automatically by Erlang.mk; and configurable separately). Enjoy!
2015-12-04Create the ebin/ directory before compiling ErlyDTL templatesLoïc Hoguin
2015-12-01Test and document DialyzerLoïc Hoguin
One bug was fixed: now Erlang.mk will properly pass relevant ERLC_OPTS values to Dialyzer. One bug still exists when using multi-application repositories: dependencies are not detected automatically. We need list-deps before this can work.
2015-11-19Merge branch 'do-not-export-templates' of https://github.com/rabbitmq/erlang.mkLoïc Hoguin
2015-11-19Do not export templates as environment variablesJean-Sébastien Pédron
We can write the file using the Makefile variables without going through environment variables.
2015-11-18Fix target dependencies and enable parallel again2.0.0-pre.2Loïc Hoguin
We can now use 'make -j 32' again. All tests pass. There might be some issues left with the areas that are not fully tested yet (some plugins). A few changes in behavior: * 'make app' will also do 'make deps' unless SKIP_DEPS is set. You can use 'make app-build' instead to just build the application. * 'make rel' will also do 'make app' (and therefore deps). There are no alternative target to keep the old behavior at this time.
2015-10-26Add new-nif target and related testsLoïc Hoguin
Pushing this now so I can figure out Windows.
2015-10-23Fix possible 'badarith' error for coverDmitry Vasiliev
Fix possible division by zero in case if a module doesn't export any functions
2015-10-22Add shell chapter and testsLoïc Hoguin
2015-10-19Force rebuilds on Makefile/.app.src changesLoïc Hoguin
Everything will be rebuilt when the Makefile or any included Makefile (like Erlang.mk or plugins) change. Only the .app will be rebuilt when the .app.src file changes.
2015-10-19Fix creating modules from templates when using apps/ onlyLoïc Hoguin
2015-10-15fix multiple patterns used on core_findDaniel Goertzen
'find', the underlying command of core_find, does not support multiple patterns after -name. This patch fixes multi-pattern use in c_src.mk by calling core_find once for each pattern.
2015-10-12Add test for and fix DTL_FULL_PATHLoïc Hoguin
2015-10-12ErlyDTL files generate to beam directlyLoïc Hoguin
2015-10-12Merge branch 'fix-plugin-erlydtl' of https://github.com/bullno1/erlang.mkLoïc Hoguin
2015-10-12Fix port compilation for rebar projectsLoïc Hoguin
2015-10-11Ensure that modules generated from erlydtl are listed in .app filebullno1
2015-09-29Add support for APPS_DIRLoïc Hoguin
This changes adds Rebar-like "apps/" functionality. From this commit onward, Erlang.mk supports 4 types of repositories: - Repo with an Erlang app at root level + deps/ - Repo with an Erlang app at root level + apps/ deps/ - Repo with no app at root level + deps/ - Repo with no app at root level + apps/ deps/ Example usage: - make new-app in=webchat - make new t=gen_server n=my_chat in=webchat - make Replace new-app with new-lib to create an OTP library instead of an OTP application.
2015-09-22Add REL_DEPS along with its testLoïc Hoguin