diff options
author | Loïc Hoguin <[email protected]> | 2017-05-23 20:47:46 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-05-23 20:47:46 +0200 |
commit | 41c769ab5c19da92ecba35d9accc4bc123029e8d (patch) | |
tree | 67bb7f4d3c9200deb38863666bd41e07ca448aea /docs/en/erlang.mk/1/guide/updating | |
parent | fe7e6a41a50b5f191b98c1bcdc99d8297f099673 (diff) | |
download | ninenines.eu-41c769ab5c19da92ecba35d9accc4bc123029e8d.tar.gz ninenines.eu-41c769ab5c19da92ecba35d9accc4bc123029e8d.tar.bz2 ninenines.eu-41c769ab5c19da92ecba35d9accc4bc123029e8d.zip |
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.
Diffstat (limited to 'docs/en/erlang.mk/1/guide/updating')
-rw-r--r-- | docs/en/erlang.mk/1/guide/updating/index.html | 30 |
1 files changed, 25 insertions, 5 deletions
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 <span style="color: #990000">.</span>erlang<span style="color: #990000">. <div class="sect1">
<h2 id="_customizing_the_build">Customizing the build</h2>
<div class="sectionbody">
-<div class="paragraph"><p>Erlang.mk allows you to customize which plugins are to be included
-in the <em>erlang.mk</em> file. You can do so by maintaining your own
-<em>build.config</em> file in your repository. Erlang.mk will automatically
-use it the next time you run <code>make erlang-mk</code>.</p></div>
+<div class="paragraph"><p>Erlang.mk allows you to customize which components are to be included
+in the <em>erlang.mk</em> file. The <code>WITHOUT</code> variable allows you to
+remove components from the default Erlang.mk build. The <em>build.config</em>
+file lets you define exactly what goes in (including your own code!),
+and in what order.</p></div>
+<div class="paragraph"><p>The <code>WITHOUT</code> 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:</p></div>
+<div class="listingblock">
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt>$ make -f erlang<span style="color: #990000">.</span>mk bootstrap <span style="color: #009900">WITHOUT</span><span style="color: #990000">=</span><span style="color: #FF0000">"index plugins/edoc"</span></tt></pre></div></div>
+<div class="paragraph"><p>The generated Erlang.mk will never include those components when
+you update it, until you change your mind and use the <code>WITHOUT</code>
+variable again when you upgrade:</p></div>
+<div class="listingblock">
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt>$ make erlang-mk <span style="color: #009900">WITHOUT</span><span style="color: #990000">=</span>index</tt></pre></div></div>
+<div class="paragraph"><p>The <em>build.config</em> file is automatically used when you bootstrap
+Erlang.mk or when you update it with <code>make erlang-mk</code>.</p></div>
<div class="paragraph"><p>The <em>build.config</em> file contains the list of all files that will
be built into the resulting <em>erlang.mk</em> file. You can start from
the <a href="https://github.com/ninenines/erlang.mk/blob/master/build.config">most recent version</a>
@@ -210,7 +231,6 @@ the <code>ERLANG_MK_BUILD_DIR</code> variable.</p></div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> - <script src="/js/bootstrap-carousel.js"></script> <script src="/js/bootstrap-dropdown.js"></script> <script src="/js/custom.js"></script> </body> |