From a932f220ca62d1f4f6a0d9bfb6ee206fdef7fe59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?=
Autoload is documented in more details in the -Packages and dependencies chapter.
Erlang.mk projects can be made compatible with the Rebar family +Packages and dependencies +Chapter 7, Packages and dependencies chapter.
Erlang.mk projects can be made compatible with the Rebar family of build tools pretty easily, as Erlang.mk will generate all the files they require for building.
The Rebar family requires two files: a rebar.config file containing compilation options and the list of dependencies, @@ -57,8 +58,8 @@ means that the Rebar family builds your project much the same way as Erlang.mk.
Careful though! Different build tools have different fetching strategies. If some applications provide differing dependencies, they might be fetched differently by other build tools. Check -the Sanity check chapter to find -out how to detect such issues.
You can automatically generate this file when you build +the upcoming Sanity check chapter to find out how to detect such +issues.
You can automatically generate this file when you build
your application, by making it a dependency of the app
target:
app:: rebar.config
Don’t forget to commit the file when it changes!
If you run into other issues, it’s probably because you use a
feature specific to Erlang.mk, like the cp
fetch method.
--
cgit v1.2.3