<feed xmlns='http://www.w3.org/2005/Atom'>
<title>erlang.mk.git/test/plugin_bootstrap.mk, branch work-20241127</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:47:20+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=a6f9a450af99a7a95848dde671de658bb53a43dc'/>
<id>a6f9a450af99a7a95848dde671de658bb53a43dc</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>Greatly speed up test speed with -j</title>
<updated>2024-11-13T16:23:22+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-11-13T16:23:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=e903cc89c5cc389305ee8dc0b15a8db250de1b37'/>
<id>e903cc89c5cc389305ee8dc0b15a8db250de1b37</id>
<content type='text'>
The tests were waiting for the test group to finish before
they could continue with the next test group. Now "core"
and "all" targets directly depend on individual test cases,
allowing parallel Make to get to the next tests quicker and
removing 1/3rd of the total run time.

  make check -j8 -k  5790,16s user 1207,08s system 627% cpu 18:35,49 total
  make check -j8 -k  6250,13s user 1326,77s system 972% cpu 12:59,16 total
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tests were waiting for the test group to finish before
they could continue with the next test group. Now "core"
and "all" targets directly depend on individual test cases,
allowing parallel Make to get to the next tests quicker and
removing 1/3rd of the total run time.

  make check -j8 -k  5790,16s user 1207,08s system 627% cpu 18:35,49 total
  make check -j8 -k  6250,13s user 1326,77s system 972% cpu 12:59,16 total
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bootstrap-rel test</title>
<updated>2022-05-23T10:55:46+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2022-05-23T10:55:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=4efae243e3b16acc025555c68eb8ab892b1b7be9'/>
<id>4efae243e3b16acc025555c68eb8ab892b1b7be9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixup! Upgrade to Relx 4 which is now used as a library</title>
<updated>2022-04-28T09:46:47+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2022-04-28T09:46:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=6f9ee4c52066cdbec7c809363649ab30fda22db0'/>
<id>6f9ee4c52066cdbec7c809363649ab30fda22db0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't try to start/stop releases in bootstrap-rel test</title>
<updated>2019-06-26T16:05:44+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2019-06-26T16:04:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=80ddc8d5a8a6a60da99fb34fb5f12ce4f36d8d63'/>
<id>80ddc8d5a8a6a60da99fb34fb5f12ce4f36d8d63</id>
<content type='text'>
We already have relx-start-stop for that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We already have relx-start-stop for that.
</pre>
</div>
</content>
</entry>
<entry>
<title>Autopatch: allow configuring REBAR_GIT and REBAR_COMMIT</title>
<updated>2018-12-07T18:40:02+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-12-07T18:40:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=a3cd50792d0ed1c5dfee66ff79ee7117057e9970'/>
<id>a3cd50792d0ed1c5dfee66ff79ee7117057e9970</id>
<content type='text'>
And use this in the tests to fetch Rebar only once and then
clone from the local repository. This should speed up tests
a little.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And use this in the tests to fetch Rebar only once and then
clone from the local repository. This should speed up tests
a little.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename the rel/ directory to config/ by default</title>
<updated>2018-11-28T14:10:54+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-11-28T14:10:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=e78e76c701c4554295ddfd6083b7aa54a378c6a9'/>
<id>e78e76c701c4554295ddfd6083b7aa54a378c6a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix propagation of SP in sub-apps</title>
<updated>2018-11-26T12:22:17+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-11-26T12:22:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=6eaf07deb49f3a9adb6e2efcba44a8bfce3fd87c'/>
<id>6eaf07deb49f3a9adb6e2efcba44a8bfce3fd87c</id>
<content type='text'>
And some refactor and additional testing for overriding.

Turns out we can override some variables even if ?= is not used,
so nothing had to be done to support overriding.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And some refactor and additional testing for overriding.

Turns out we can override some variables even if ?= is not used,
so nothing had to be done to support overriding.
</pre>
</div>
</content>
</entry>
<entry>
<title>Disallow uppercase characters in application names</title>
<updated>2018-11-24T12:29:23+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-11-24T12:29:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=9dfa5dd6fa860040b2711f09aed38d3a1ff606be'/>
<id>9dfa5dd6fa860040b2711f09aed38d3a1ff606be</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Error out on dash characters during bootstrap</title>
<updated>2018-11-24T11:12:05+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-11-24T11:01:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=ea066afe76802fb888abc58c1a4ac3d367e2379c'/>
<id>ea066afe76802fb888abc58c1a4ac3d367e2379c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
