<feed xmlns='http://www.w3.org/2005/Atom'>
<title>erlang.mk.git, 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>Update hex_core to current master</title>
<updated>2024-11-19T16:10:07+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-11-19T16:10:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=9376f53f549c05cf692d0e259763049a039e96eb'/>
<id>9376f53f549c05cf692d0e259763049a039e96eb</id>
<content type='text'>
This includes the SSL security fix for OTP-25+.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This includes the SSL security fix for OTP-25+.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use short variable names when possible</title>
<updated>2024-11-19T14:34:48+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-11-19T13:41:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=e507a7c03f54b26cf92f1c98e9ed2e52062eb256'/>
<id>e507a7c03f54b26cf92f1c98e9ed2e52062eb256</id>
<content type='text'>
We use $1 instead of $(1) or $p instead of $(p) when possible,
except when building variable names (pkg_$(p)_name for example,
but also $(dep_fetch_$(1))).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We use $1 instead of $(1) or $p instead of $(p) when possible,
except when building variable names (pkg_$(p)_name for example,
but also $(dep_fetch_$(1))).
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove legacy fetch method</title>
<updated>2024-11-19T14:34:48+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-11-19T12:25:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=acce7040d442a5ddba9f9394714ad28877905ea0'/>
<id>acce7040d442a5ddba9f9394714ad28877905ea0</id>
<content type='text'>
This method dates back from the beginnings of Erlang.mk
and should not have been used for around a decade by now.
Adding "git" to the offending dep lines is enough to upgrade.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This method dates back from the beginnings of Erlang.mk
and should not have been used for around a decade by now.
Adding "git" to the offending dep lines is enough to upgrade.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove deprecated dep_fetch, dep_name, dep_repo, dep_commit</title>
<updated>2024-11-19T14:34:48+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-11-19T11:50:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=7bf0e7b5f6bd82b5af76d375fb0bf1ffc7ac2b72'/>
<id>7bf0e7b5f6bd82b5af76d375fb0bf1ffc7ac2b72</id>
<content type='text'>
Use the query_* equivalents instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the query_* equivalents instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use hex_core to fetch Hex packages</title>
<updated>2024-11-19T14:34:48+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-11-18T14:40:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=49534003e387676d0140d9fc24adbd3f9742acaf'/>
<id>49534003e387676d0140d9fc24adbd3f9742acaf</id>
<content type='text'>
This should both be more solid and more secure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should both be more solid and more secure.
</pre>
</div>
</content>
</entry>
<entry>
<title>CI: Also test with CACHE_DEPS=1</title>
<updated>2024-11-19T14:34:48+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-11-15T15:27:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=a5f32341d923d6c0bee6efba2f156558c994ff56'/>
<id>a5f32341d923d6c0bee6efba2f156558c994ff56</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CI: Trick GH runners into picking slower jobs early</title>
<updated>2024-11-15T11:07:48+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-11-15T11:00:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=8312df799e3e501b14e8736d19c2d238b7bd8507'/>
<id>8312df799e3e501b14e8736d19c2d238b7bd8507</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CI: Run Dialyzer tests in parallel jobs</title>
<updated>2024-11-15T10:17:13+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-11-15T10:17:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=9323fa206244d306ec1038bbc1108396125e28b3'/>
<id>9323fa206244d306ec1038bbc1108396125e28b3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Discord server to README and Getting Started</title>
<updated>2024-11-15T10:15:14+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-11-15T10:15:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=49213b7463fafbdd6d1d6b68066b901bd62a1ad0'/>
<id>49213b7463fafbdd6d1d6b68066b901bd62a1ad0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
