Skip to content

Commit

Permalink
Merge branch 'master' of https://bitomule@github.com/bitomule/Blog
Browse files Browse the repository at this point in the history
  • Loading branch information
bitomule committed May 2, 2020
2 parents 7ef92ca + a1de604 commit a4f6ac6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Output/feed.rss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content"><channel><title>Bitomule's learning shack</title><description>My thoughts about iOS, technology or any other thing that comes to my mind.</description><link>https://blog.bitomule.com</link><language>en</language><lastBuildDate>Fri, 1 May 2020 09:06:55 +0000</lastBuildDate><pubDate>Fri, 1 May 2020 09:06:55 +0000</pubDate><ttl>250</ttl><atom:link href="https://blog.bitomule.com/feed.rss" rel="self" type="application/rss+xml"/><item><guid isPermaLink="true">https://blog.bitomule.com/posts/introducing-swiftypods</guid><title>Introducing SwiftyPods: generate your podfile using Swift</title><description></description><link>https://blog.bitomule.com/posts/introducing-swiftypods</link><pubDate>Wed, 22 Apr 2020 19:36:00 +0000</pubDate><content:encoded><![CDATA[<p>I’ve been working on this for weeks and today I am happy to finally share it with you.</p><p>SwiftyPods started with me exploring options to improve how we create feature modules at Wallapop. You can see my talk at NSSpain <a href="https://vimeo.com/showcase/6319394/video/362160599">here</a> about our approach to modules.</p><p>One of the first issues I saw is that our project had one single podfile including dependencies from main app and modules. We think that the long term solution will be getting our modules closer to Swift package manager but we are not there yet (hopefully SPM 5.3 with binaries support and assets will get us closer).</p><p>I have been interested in building a command line tool using Swift for long time, so it looked like the perfect opportunity to solve the problem using one.</p><p>I am not sure yet if it will be useful for us or if just and experiment. What I know is that I had a lot of fun building it.</p><p>Keep reading if you want some details about the implementation; if you just want to use it go to the repo at <a href="https://github.com/bitomule/SwiftyPods/blob/master/README.md">github</a> (I think I made it easy to use).</p><h2>DSL</h2><p>The domain specific language built for SwiftyPods is the first thing I created as a proof of concept and is one of the last things I finished. Right now I like the result although it is missing a lot of features.</p><p>I built it trying to be as close to Swift Package Manager and also trying to make it easier to grow in the future without breaking changes.</p><p>The result is:</p><pre><code><span class="keyword">let</span> podfile = <span class="type">Podfile</span>(
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content"><channel><title>Bitomule's learning shack</title><description>My thoughts about iOS, technology or any other thing that comes to my mind.</description><link>https://blog.bitomule.com</link><language>en</language><lastBuildDate>Fri, 1 May 2020 09:29:21 +0000</lastBuildDate><pubDate>Fri, 1 May 2020 09:29:21 +0000</pubDate><ttl>250</ttl><atom:link href="https://blog.bitomule.com/feed.rss" rel="self" type="application/rss+xml"/><item><guid isPermaLink="true">https://blog.bitomule.com/posts/introducing-swiftypods</guid><title>Introducing SwiftyPods: generate your podfile using Swift</title><description></description><link>https://blog.bitomule.com/posts/introducing-swiftypods</link><pubDate>Wed, 22 Apr 2020 19:36:00 +0000</pubDate><content:encoded><![CDATA[<p>I’ve been working on this for weeks and today I am happy to finally share it with you.</p><p>SwiftyPods started with me exploring options to improve how we create feature modules at Wallapop. You can see my talk at NSSpain <a href="https://vimeo.com/showcase/6319394/video/362160599">here</a> about our approach to modules.</p><p>One of the first issues I saw is that our project had one single podfile including dependencies from main app and modules. We think that the long term solution will be getting our modules closer to Swift package manager but we are not there yet (hopefully SPM 5.3 with binaries support and assets will get us closer).</p><p>I have been interested in building a command line tool using Swift for long time, so it looked like the perfect opportunity to solve the problem using one.</p><p>I am not sure yet if it will be useful for us or if just and experiment. What I know is that I had a lot of fun building it.</p><p>Keep reading if you want some details about the implementation; if you just want to use it go to the repo at <a href="https://github.com/bitomule/SwiftyPods/blob/master/README.md">github</a> (I think I made it easy to use).</p><h2>DSL</h2><p>The domain specific language built for SwiftyPods is the first thing I created as a proof of concept and is one of the last things I finished. Right now I like the result although it is missing a lot of features.</p><p>I built it trying to be as close to Swift Package Manager and also trying to make it easier to grow in the future without breaking changes.</p><p>The result is:</p><pre><code><span class="keyword">let</span> podfile = <span class="type">Podfile</span>(
targets: [
.<span class="call">target</span>(
name: <span class="string">"Target"</span>,
Expand Down
2 changes: 1 addition & 1 deletion Output/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"><url><loc>https://blog.bitomule.com/posts</loc><changefreq>daily</changefreq><priority>1.0</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/introducing-swiftypods</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/getting-started-with-publish</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/moving-blog-again</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/my-journey-from-rxswift-to-combine</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/kitchenorder</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/realm-type-safe-update-2</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/how-ynab-changed-my-life</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/tracking-your-site-metrics-without-sacrifycing-user-privacy</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/using-portainer-to-manage-container-station</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/running-a-website-from-your-qnap-nas</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/calculate-text-size</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/drafts/Automating%20deploy%20of%20your%20publish%20site%20to%20github%20pages</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/drafts/My%20omnifocus%20shortcuts%20for%20iOS</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url></urlset>
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"><url><loc>https://blog.bitomule.com/posts</loc><changefreq>daily</changefreq><priority>1.0</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/introducing-swiftypods</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/getting-started-with-publish</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/moving-blog-again</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/my-journey-from-rxswift-to-combine</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/kitchenorder</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/realm-type-safe-update-2</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/how-ynab-changed-my-life</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/tracking-your-site-metrics-without-sacrifycing-user-privacy</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/using-portainer-to-manage-container-station</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/running-a-website-from-your-qnap-nas</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/posts/calculate-text-size</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/drafts/Automating%20deploy%20of%20your%20publish%20site%20to%20github%20pages</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/drafts/My%20list%20of%20Publish%20plugins</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url><url><loc>https://blog.bitomule.com/drafts/My%20omnifocus%20shortcuts%20for%20iOS</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-05-01</lastmod></url></urlset>
2 changes: 1 addition & 1 deletion Output/tags/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="https://unpkg.com/purecss@1.0.1/build/pure-min.css" integrity="sha384-oAOxQR6DkCoMliIh8yFnu25d7Eq/PHS21PClpwjOTeU2jRSq11vu66rf90/cZr47" crossorigin="anonymous"/><link rel="stylesheet" href="https://unpkg.com/purecss@1.0.1/build/grids-responsive-min.css"/><link rel="stylesheet" href="/Pure/styles.css"/><link rel="stylesheet" href="/all.css"/><title>Bitomule's learning shack</title><meta name="twitter:title" content="Bitomule's learning shack"/><meta name="og:title" content="Bitomule's learning shack"/></head><body><div id="layout" class="pure-g"><div class="sidebar pure-u-1 pure-u-md-1-4"><div class="header"><div id="layout" class="pure-g"><div class="pure-u-md-1-1 pure-u-3-4"><h1 class="brand-title">Bitomule's learning shack</h1><h3 class="brand-tagline">My thoughts about iOS, technology or any other thing that comes to my mind.</h3></div></div><div id="layout" class="pure-g"><div class="pure-u-md-1-1"><a href="mailto:bitomule+blog@gmail.com"><i class="fas fa-envelope-open-text l-box social-icon"></i><a class="social-media" href="mailto:bitomule+blog@gmail.com">Email</a></a></div><div class="pure-u-md-1-1"><a href="https://www.linkedin.com/in/davidcolladosela/"><i class="fab fa-linkedin l-box social-icon"></i><a class="social-media" href="https://www.linkedin.com/in/davidcolladosela/">LinkedIn</a></a></div><div class="pure-u-md-1-1"><a href="https://github.com/bitomule"><i class="fab fa-github-square l-box social-icon"></i><a class="social-media" href="https://github.com/bitomule">GitHub</a></a></div><div class="pure-u-md-1-1"><a href="https://twitter.com/Bitomule"><i class="fab fa-twitter-square l-box social-icon"></i><a class="social-media" href="https://twitter.com/Bitomule">Twitter</a></a></div></div></div></div><div class="content pure-u-1 pure-u-md-3-5 pure-u-xl-6-10"><div class="post-tags"><a class="post-category post-category-publish" href="/tags/publish">Publish</a><a class="post-category post-category-spm" href="/tags/spm">SPM</a><a class="post-category post-category-swift" href="/tags/swift">Swift</a><a class="post-category post-category-combine" href="/tags/combine">Combine</a><a class="post-category post-category-project" href="/tags/project">Project</a><a class="post-category post-category-apps" href="/tags/apps">Apps</a><a class="post-category post-category-nas" href="/tags/nas">NAS</a><a class="post-category post-category-blog" href="/tags/blog">Blog</a><a class="post-category post-category-ios" href="/tags/ios">iOS</a><a class="post-category post-category-web" href="/tags/web">Web</a><a class="post-category post-category-ynab" href="/tags/ynab">YNAB</a><a class="post-category post-category-commandline" href="/tags/commandline">CommandLine</a></div></div><div class="footer pure-u-1"><div class="pure-u-1">© 2020 Bitomule's learning shack</div><div class="pure-u-1">Generated using <a href="https://github.com/johnsundell/publish">Publish</a>. Written in Swift</div><div class="pure-u-1"><a href="/feed.rss">RSS feed</a></div></div></div></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="https://unpkg.com/purecss@1.0.1/build/pure-min.css" integrity="sha384-oAOxQR6DkCoMliIh8yFnu25d7Eq/PHS21PClpwjOTeU2jRSq11vu66rf90/cZr47" crossorigin="anonymous"/><link rel="stylesheet" href="https://unpkg.com/purecss@1.0.1/build/grids-responsive-min.css"/><link rel="stylesheet" href="/Pure/styles.css"/><link rel="stylesheet" href="/all.css"/><title>Bitomule's learning shack</title><meta name="twitter:title" content="Bitomule's learning shack"/><meta name="og:title" content="Bitomule's learning shack"/></head><body><div id="layout" class="pure-g"><div class="sidebar pure-u-1 pure-u-md-1-4"><div class="header"><div id="layout" class="pure-g"><div class="pure-u-md-1-1 pure-u-3-4"><h1 class="brand-title">Bitomule's learning shack</h1><h3 class="brand-tagline">My thoughts about iOS, technology or any other thing that comes to my mind.</h3></div></div><div id="layout" class="pure-g"><div class="pure-u-md-1-1"><a href="mailto:bitomule+blog@gmail.com"><i class="fas fa-envelope-open-text l-box social-icon"></i><a class="social-media" href="mailto:bitomule+blog@gmail.com">Email</a></a></div><div class="pure-u-md-1-1"><a href="https://www.linkedin.com/in/davidcolladosela/"><i class="fab fa-linkedin l-box social-icon"></i><a class="social-media" href="https://www.linkedin.com/in/davidcolladosela/">LinkedIn</a></a></div><div class="pure-u-md-1-1"><a href="https://github.com/bitomule"><i class="fab fa-github-square l-box social-icon"></i><a class="social-media" href="https://github.com/bitomule">GitHub</a></a></div><div class="pure-u-md-1-1"><a href="https://twitter.com/Bitomule"><i class="fab fa-twitter-square l-box social-icon"></i><a class="social-media" href="https://twitter.com/Bitomule">Twitter</a></a></div></div></div></div><div class="content pure-u-1 pure-u-md-3-5 pure-u-xl-6-10"><div class="post-tags"><a class="post-category post-category-blog" href="/tags/blog">Blog</a><a class="post-category post-category-spm" href="/tags/spm">SPM</a><a class="post-category post-category-combine" href="/tags/combine">Combine</a><a class="post-category post-category-ynab" href="/tags/ynab">YNAB</a><a class="post-category post-category-publish" href="/tags/publish">Publish</a><a class="post-category post-category-web" href="/tags/web">Web</a><a class="post-category post-category-ios" href="/tags/ios">iOS</a><a class="post-category post-category-project" href="/tags/project">Project</a><a class="post-category post-category-nas" href="/tags/nas">NAS</a><a class="post-category post-category-apps" href="/tags/apps">Apps</a><a class="post-category post-category-commandline" href="/tags/commandline">CommandLine</a><a class="post-category post-category-swift" href="/tags/swift">Swift</a></div></div><div class="footer pure-u-1"><div class="pure-u-1">© 2020 Bitomule's learning shack</div><div class="pure-u-1">Generated using <a href="https://github.com/johnsundell/publish">Publish</a>. Written in Swift</div><div class="pure-u-1"><a href="/feed.rss">RSS feed</a></div></div></div></body></html>

0 comments on commit a4f6ac6

Please sign in to comment.