aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-08-30Support in pattern matching of extra data typeplakshman93
This will support defining macro in `rebar.config.script`. An extra data type pattern matching is added in `dep_autopatch_rebar` function.
2017-08-28Remove stray $t variable2017.08.28Loïc Hoguin
2017-08-28Tweak newly added docsLoïc Hoguin
2017-08-28Document CI and OTP version management/pinningLoïc Hoguin
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-23Ensure the current shell knows about PATH when pinning OTPLoïc Hoguin
2017-08-16More improvements to version pinningLoïc Hoguin
The output of kerl will now be printed, and the way we do the recursive invocation for building the Erlang/OTP version we want should be more solid.
2017-08-15Prevent recursion when building a pinned Erlang/OTPLoïc Hoguin
Also add a user friendly message to inform the user of what we are doing.
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-07-06Fix handling of Rebar's .app.src.script files2017.07.06Loïc Hoguin
2017-06-08Update lager repository org.Daniil Fedotov
basho/lager is unmaintained. A while ago, erlang-lager/lager project was started to continue progress on lager, including support for recent OTP versions and rebar3.
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-25Cleanup the relx test suiteLoïc Hoguin
Avoid duplicating everything between Windows and other platforms.
2017-05-25Update relx up to v3.23.0Stanislav Ovchar
2017-05-22Add package idna to the indexLoïc Hoguin
2017-05-17Add a note about Windows CRLF2017.05.18Loïc Hoguin
2017-05-16Add a test for ErlyDTL with a custom tagLoïc Hoguin
2017-05-15Also test WITHOUT when updating Erlang.mkLoï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-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-12Add test for CT on root app with sub-appsAlexey Lebedeff
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-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-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-12core/deps.mk: Move .app in autopatch2 only if file existsJean-Sébastien Pédron
This silences warnings such as: mv: rename file.app to file.app.src: No such file or directory They are harmless really, but still annoying.
2017-05-12test/core_deps.mk: Wait for node in core-deps-relJean-Sébastien Pédron
When the test check the running applications in the started release, the node may not be up yet. So loop until the command returns a list of applications (instead of "Node is not running!"). This fixes some transient failures.
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-05-10Add package toml to the indexStanislaw Klekot
2017-04-28Consider all projects with a rebar.lock rebar projectsLoïc Hoguin
2017-04-27Use --gpg-no-sign in commits in testsLoïc Hoguin
2017-04-27Add a test for plugin templates and fix an issue with themLoïc Hoguin
2017-04-25Add test for plugins test buildsDaniel Goertzen
2017-04-25Fix invalid relx.config path on WindowsLoïc Hoguin
2017-04-25Fix of handling relx.config release versionKrister Svanlund
2017-04-25Stylistic changes to makedep tests2017.04.25Loïc Hoguin
2017-04-25core/erlc.mk: added src subfolders support in makedep.erlOleksiy Kebkal