aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src
AgeCommit message (Collapse)Author
2020-06-18Add initial Concuerror integrationLoïc Hoguin
https://concuerror.com/
2020-04-21Add bash completion scriptcrownedgrouse
2020-04-13Add plugin esh.mk to the index/documentationcrownedgrouse
2020-03-04Add the query-deps family of targets2020.03.05Loïc Hoguin
The query-deps, query-doc-deps, query-rel-deps, query-test-deps and query-shell-deps targets go through dependencies and print some information about them: $ make query-deps ... cowboy: cowlib git https://github.com/ninenines/cowlib 2.7.3 cowboy: ranch git https://github.com/ninenines/ranch 1.7.1 $ make query-deps QUERY="name repo version absolute_path" ... cowboy: cowlib https://github.com/ninenines/cowlib 2.7.3 /path/to/deps/cowlib cowboy: ranch https://github.com/ninenines/ranch 1.7.1 /path/to/deps/ranch The query-deps target is recursive; the others aren't. This mirrors the behavior when fetching and building dependencies. The full list of options is: QUERY="fetch_method name repo version extra absolute_path" When an option has no corresponding value, "-" will be printed. For example most fetch methods do not have extra information to print. When there is extra information, the value will be prefixed with a descriptive name. For example: package-name=uuid_erl This commit also introduces changes to deps handling: some of the functions for querying will now be used directly. In the future the goal is to remove the old dep_name, dep_commit, etc. functions and replace their usage with the new query functions. Custom fetch methods should implement query functions in order to have information about the relevant dependencies printed properly.
2020-02-11Support Hex packages with name different from application2020.02.11Loïc Hoguin
Properly fixes partisan.
2019-07-01Update recommendation to Make 4.22019.07.01Loïc Hoguin
There are issues with -j in 4.1 and earlier.
2018-12-07Document the PropEr pluginLoïc Hoguin
2018-12-07Document code coverageLoïc Hoguin
2018-12-05Allow hooking before/after autopatchLoïc Hoguin
2018-12-04Fix and document Dialyzer against beam filesLoïc Hoguin
2018-12-04Document cross compilingLoïc Hoguin
2018-12-04Add ci.erlang.mk to the plugin listLoïc Hoguin
2018-12-03Add version.mk to the plugins listLoïc Hoguin
2018-12-03Don't rebuild dependencies by defaultLoï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-11-30Document selecting RELX_CONFIG for prod/devLoïc Hoguin
2018-11-30Document that DEPS has precedence over TEST_DEPS etc.Loïc Hoguin
And a workaround to force a specific version to be downloaded.
2018-11-29Add the target help-plugins to document external pluginsLoï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-28Document parallel buildingLoïc Hoguin
2018-11-28Rename the rel/ directory to config/ by defaultLoïc Hoguin
2018-11-26Allow running test cases without groups in CTLoïc Hoguin
2018-11-26Add a guide section about dealing with duplicate modulesLoïc Hoguin
While the solution is not the best we could do it's better than nothing.
2018-11-26Document the requirement on flock for parallel buildsLoïc Hoguin
2018-11-24Add the git-subfolder fetch methodLoï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-24Document building EDoc on all apps in multi-apps projectsLoïc Hoguin
2018-07-05Document ERLANG_MK_REPO and ERLANG_MK_COMMITKrzysztof Jurewicz
2018-06-04Add basic documentation for Triq pluginKrzysztof Jurewicz
This is based on the documentation of the EUnit plugin.
2018-05-31Add $(TEST_DIR) to the default value of SHELL_PATHSKrzysztof Jurewicz
2018-05-14Document PROJECT_ENV usage with/without fileAlexander Clouter
LH: I have added the example without a separate file and tweaked the wording a bit.
2018-04-25Add gen_statem templatejuhlig
[skip ci]
2018-01-24On Alpine gawk is requiredLoïc Hoguin
2018-01-24Tweak the new Sphinx plugin's documentationLoïc Hoguin
2018-01-24Add support for Sphinx documentation builderStanislaw Klekot
2017-10-07docs: use `make` instead of deprecated homebrew `homebrew/dupes/mak`rheza
2017-09-17Add trick for exporting C build flags to sub-MakefilesLoïc Hoguin
Thanks to dozzie on IRC for the suggestion.
2017-08-28Tweak newly added docsLoïc Hoguin
2017-08-28Document CI and OTP version management/pinningLoïc Hoguin
2017-05-26Fix a typoLoïc Hoguin
Thanks to Eric Pailleau for reporting it!
2017-05-25Edit the previous doc additionLoïc Hoguin
2017-05-25Document workaround with relx semver valueStanislav Ovchar
2017-05-17Add a note about Windows CRLF2017.05.18Loïc Hoguin
2017-05-15Add tweaks and tests for the WITHOUT featureLoïc Hoguin
2017-05-15Add WITHOUT variable to exclude components on buildbenoitc
This allows to ignore lines from the default build.config if needed. For example to not include packages run make WITHOUT=index
2017-05-15Support plugins local to the applicationJean-Sébastien Pédron
If the application's Makefile specify either: DEP_PLUGINS = $(PROJECT) or e.g.: DEP_PLUGINS = $(PROJECT)/mk/dist.mk then load the plugin from the application instead of a dependency. This helps when you have an application with common Erlang modules and Erlang.mk plugins: your common application can load Erlang.mk plugins exactly like other applications depending on the common application.
2017-05-15Add dep_fetch_lnderwinlu
2017-05-15Make autopatch of Erlang.mk projects less obtrusiveLoïc Hoguin
We do not touch the erlang.mk file anymore. We only patch the Makefile to include the top-level Erlang.mk by changing the 'include erlang.mk' line to look for ERLANG_MK_FILENAME if it is defined. The modified Makefile can be committed safely.
2017-05-12Support early-stage plugins through `$(DEP_EARLY_PLUGINS)`Jean-Sébastien Pédron
Regular plugins (`$(DEP_PLUGINS)`) are loaded near the end of Erlang.mk. This is fine when you want to modify variables initialized earlier in Erlang.mk or add new targets and variables. However, it doesn't allow you to declare more dependencies because they are loaded too late for that. This commit introduces a new variable, `$(DEP_EARLY_PLUGINS)`, which can be used to list plugins meant to be loaded near the beginning of Erlang.mk. Those allow to append to the list of dependencies. They work exactly like regular plugins otherwise. The default filename loaded is `early-plugins.mk`.
2017-04-25compile apps in the right order by looking at their LOCAL_DEPSJeffrey Griffin
we also use LOCAL_DEPS at the top-level, if it exists, to determine which local apps to compile, in the interest of saving compile time for projects that have many apps and multiple release configurations
2017-02-08Fix Archlinux Installation Instructionsderwinlu
Suggesting -Sy is a terrible idea[1]. This commit replaces it with -S which is the default on how packages should be added on Archlinux. Resolves #662. [1]: https://bbs.archlinux.org/viewtopic.php?id=89328
2017-01-12Set ASN.1 compilation options using ERLC_ASN1_OPTS2017.01.12Klas Johansson
`ERLC_ASN1_OPTS` can be used to pass compiler options when compiling ASN.1 files. By default, Erlang.mk will leave this empty, but it can be redefined in a Makefile.
2016-11-26Add CT_LOGS_DIRnevar