From 41c769ab5c19da92ecba35d9accc4bc123029e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 23 May 2017 20:47:46 +0200 Subject: Remove the use of bootstrap-carousel The custom.js file was converted to not use jquery also. Once bootstrap is gone, we can remove jquery entirely. --- docs/en/erlang.mk/1/guide/updating/index.html | 30 ++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) (limited to 'docs/en/erlang.mk/1/guide/updating') diff --git a/docs/en/erlang.mk/1/guide/updating/index.html b/docs/en/erlang.mk/1/guide/updating/index.html index fbb3fffc..72956156 100644 --- a/docs/en/erlang.mk/1/guide/updating/index.html +++ b/docs/en/erlang.mk/1/guide/updating/index.html @@ -117,10 +117,31 @@ rm -rf .erlang.

Customizing the build

-

Erlang.mk allows you to customize which plugins are to be included -in the erlang.mk file. You can do so by maintaining your own -build.config file in your repository. Erlang.mk will automatically -use it the next time you run make erlang-mk.

+

Erlang.mk allows you to customize which components are to be included +in the erlang.mk file. The WITHOUT variable allows you to +remove components from the default Erlang.mk build. The build.config +file lets you define exactly what goes in (including your own code!), +and in what order.

+

The WITHOUT file contains the list of components to exclude from +the build. For example, to exclude the package index and the EDoc +plugin when bootstrapping your application:

+
+
+
$ make -f erlang.mk bootstrap WITHOUT="index plugins/edoc"
+

The generated Erlang.mk will never include those components when +you update it, until you change your mind and use the WITHOUT +variable again when you upgrade:

+
+
+
$ make erlang-mk WITHOUT=index
+

The build.config file is automatically used when you bootstrap +Erlang.mk or when you update it with make erlang-mk.

The build.config file contains the list of all files that will be built into the resulting erlang.mk file. You can start from the most recent version @@ -210,7 +231,6 @@ the ERLANG_MK_BUILD_DIR variable.

- -- cgit v1.2.3