<feed xmlns='http://www.w3.org/2005/Atom'>
<title>erlang.mk.git/Makefile, branch templates</title>
<subtitle>A build tool for Erlang that just works.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/'/>
<entry>
<title>Move templates outside the source .mk files</title>
<updated>2024-11-22T13:36:39+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-11-21T14:55:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=e299e34960cd8968f7a8a9914e47ea83ed9218c2'/>
<id>e299e34960cd8968f7a8a9914e47ea83ed9218c2</id>
<content type='text'>
Templates now no longer use Make variables for substitution
but instead replace strings with their equivalent:

  template_name: Corresponds to n=template_name
  project_name:  Corresponds to $(PROJECT) or in=project_name

This allows defining templates outside of Makefiles. For
example an external plugin could define their templates
in templates/my_template.erl and then have the following
in the included Makefile:

  tpl_my_template = $(file &lt; $(THIS)/templates/my_template.erl)

By default the created file will be in src/template_name.erl.
This can be overriden with the tplp_* variable:

  tplp_my_template = src/model/my_template.erl

Substitution is applied both to the template contents and
to its path.

In addition, attempting to overwrite an existing file when
creating a template will result in failure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Templates now no longer use Make variables for substitution
but instead replace strings with their equivalent:

  template_name: Corresponds to n=template_name
  project_name:  Corresponds to $(PROJECT) or in=project_name

This allows defining templates outside of Makefiles. For
example an external plugin could define their templates
in templates/my_template.erl and then have the following
in the included Makefile:

  tpl_my_template = $(file &lt; $(THIS)/templates/my_template.erl)

By default the created file will be in src/template_name.erl.
This can be overriden with the tplp_* variable:

  tplp_my_template = src/model/my_template.erl

Substitution is applied both to the template contents and
to its path.

In addition, attempting to overwrite an existing file when
creating a template will result in failure.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add testing of building packages from hex.pm</title>
<updated>2023-05-12T09:59:33+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2023-05-12T09:59:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=16f910156aa86da27e923fa8235c0a2d487cc262'/>
<id>16f910156aa86da27e923fa8235c0a2d487cc262</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Print a changelog when updating Erlang.mk</title>
<updated>2018-12-03T19:52:10+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-12-03T19:50:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=2163fef859c46ebe5f3d7827ce8ddfd45ee56691'/>
<id>2163fef859c46ebe5f3d7827ce8ddfd45ee56691</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow running test cases without groups in CT</title>
<updated>2018-11-26T22:46:31+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-11-26T22:46:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=f07636e66759ecdaff4ee4e9097ecbf88eb6b217'/>
<id>f07636e66759ecdaff4ee4e9097ecbf88eb6b217</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow running tests using the latest kerl-built Erlang/OTP version</title>
<updated>2018-11-25T14:18:56+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-11-25T14:18:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=095dcd9b024d260b59c03894338ec7828c4f413c'/>
<id>095dcd9b024d260b59c03894338ec7828c4f413c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Relx</title>
<updated>2018-06-25T07:37:57+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-06-25T07:37:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=1f39e8414846ea752f83bedfb15a7652db9c46b7'/>
<id>1f39e8414846ea752f83bedfb15a7652db9c46b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use --always in git describe</title>
<updated>2018-05-10T07:54:16+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-05-10T07:54:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=ca7fcc22e1eae294a2a05f89b2f95c20f7e2ceb6'/>
<id>ca7fcc22e1eae294a2a05f89b2f95c20f7e2ceb6</id>
<content type='text'>
[ci skip]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[ci skip]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add "make install p=$PKG" to install packages locally</title>
<updated>2018-03-28T10:20:43+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-03-28T09:54:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=fb4e8687f2c5e55ccead797588fed018bcae646b'/>
<id>fb4e8687f2c5e55ccead797588fed018bcae646b</id>
<content type='text'>
This uses the erlang.mk test infrastructure to build the
package and the packages are installed by default to
XDG_DATA_HOME/erlang.mk/lib. Just add this path to
ERL_LIBS and it will be available to all non-release
Erlang shells.

  export ERL_LIBS=$HOME/.local/share/erlang.mk/lib

To make them available to releases they need to be
started in interactive mode. This can be done via
the CODE_LOADING_MODE variable which is used at the
release startup.

  export CODE_LOADING_MODE=interactive
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This uses the erlang.mk test infrastructure to build the
package and the packages are installed by default to
XDG_DATA_HOME/erlang.mk/lib. Just add this path to
ERL_LIBS and it will be available to all non-release
Erlang shells.

  export ERL_LIBS=$HOME/.local/share/erlang.mk/lib

To make them available to releases they need to be
started in interactive mode. This can be done via
the CODE_LOADING_MODE variable which is used at the
release startup.

  export CODE_LOADING_MODE=interactive
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix make up, my bad</title>
<updated>2018-03-14T15:43:10+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-03-14T15:43:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=4fbc1ff227e8d9b8a59cb922d9d9fd8987476ec8'/>
<id>4fbc1ff227e8d9b8a59cb922d9d9fd8987476ec8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Speed up the git clone download by using shallow downloads.</title>
<updated>2018-03-14T15:32:30+00:00</updated>
<author>
<name>Andreas Krüger</name>
<email>andreas.krueger@innoq.com</email>
</author>
<published>2018-03-13T15:54:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=f361821960c95c8cf30a4468243260ef0b4e1c95'/>
<id>f361821960c95c8cf30a4468243260ef0b4e1c95</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
