<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>rebar3 on Roger&#39;s Blog</title>
		<link>https://blog.differentpla.net/tags/rebar3/</link>
		<description>Recent content in rebar3 on Roger&#39;s Blog</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<lastBuildDate>Wed, 08 Mar 2023 10:12:00 +0000</lastBuildDate>
		
			<atom:link href="https://blog.differentpla.net/tags/rebar3/feed.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Resetting the terminal after running rebar3</title>
				<link>https://blog.differentpla.net/blog/2023/03/08/rebar3-stty-sane/</link>
				<pubDate>Wed, 08 Mar 2023 10:12:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/03/08/rebar3-stty-sane/</guid>
				<description>&lt;p&gt;Sometimes, when you run &lt;code&gt;rebar3 shell&lt;/code&gt; and you press Ctrl+C twice to quit, your terminal is messed up. This is how I&#xA;fixed it in zsh.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Erlang application versioning</title>
				<link>https://blog.differentpla.net/blog/2022/12/22/erlang-versioning/</link>
				<pubDate>Thu, 22 Dec 2022 13:53:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/12/22/erlang-versioning/</guid>
				<description>&lt;p&gt;When you&amp;rsquo;re investigating a problem with a deployed application, it&amp;rsquo;s useful to know precisely which version you&amp;rsquo;re&#xA;looking at. Here&amp;rsquo;s how to automatically set the version number in an Erlang project.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Erlang cluster on Kubernetes: Speeding up the container build</title>
				<link>https://blog.differentpla.net/blog/2022/12/21/erlang-cluster-k8s-speeding-container-build/</link>
				<pubDate>Wed, 21 Dec 2022 19:49:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/12/21/erlang-cluster-k8s-speeding-container-build/</guid>
				<description>&lt;p&gt;I noticed that whenever I made any change to the application, it caused the &lt;del&gt;docker&lt;/del&gt;podman build to re-fetch and&#xA;recompile all of the dependencies. On the tiny laptop I was using at the time, this was taking several extra minutes for&#xA;every build.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Rebar3 Umbrella Projects</title>
				<link>https://blog.differentpla.net/blog/2022/12/21/rebar3-umbrella/</link>
				<pubDate>Wed, 21 Dec 2022 14:29:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/12/21/rebar3-umbrella/</guid>
				<description>&lt;p&gt;Some notes about using &lt;a href=&#34;https://rebar3.org/&#34;&gt;rebar3&lt;/a&gt; with an umbrella project.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;rebar3 new umbrella &lt;span class=&#34;nv&#34;&gt;name&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;foo      &lt;span class=&#34;c1&#34;&gt;# umbrella and release are aliases&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;cd&lt;/span&gt; umbrella/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;cd&lt;/span&gt; apps/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;rebar3 new app &lt;span class=&#34;nv&#34;&gt;name&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;bar&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;rebar3 new lib &lt;span class=&#34;nv&#34;&gt;name&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;baz&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;p&gt;It doesn&amp;rsquo;t set up the application dependencies (because it can&amp;rsquo;t &lt;em&gt;know&lt;/em&gt; what you mean to do), so you&amp;rsquo;ll need to do that&#xA;yourself. Edit &lt;code&gt;apps/foo/src/foo.app.src&lt;/code&gt;:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Formatting Erlang code in Visual Studio Code</title>
				<link>https://blog.differentpla.net/blog/2022/10/05/vscode-erlang-formatting/</link>
				<pubDate>Wed, 05 Oct 2022 10:23:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/10/05/vscode-erlang-formatting/</guid>
				<description>&lt;p&gt;The ErlangLS extension for VS Code includes formatting, using &lt;code&gt;rebar3_format&lt;/code&gt;. I&amp;rsquo;d prefer to use &lt;code&gt;erlfmt&lt;/code&gt;, so here&amp;rsquo;s how I set it up.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
