There is a tiny command line tool as part of the Swift toolchains called swift-format. It’s still a work in progress, but a few days ago I wanted to try it on an existing project, for fun. It’s very simple to use, as the documentation suggests:
I recently reached a point with Commitment where I’m actually using it daily, which both feels great and terrible. Great because, well, it’s my own app, and terrible because I see all the quirks I need to fix. The last two sessions of work have been spent setting up Sparkle to auto-update the app. As I’m learning (and struggling) quite a bit, I figured I should write about it.
A few years ago, I was working on a backend application that created a lot of temporary files. In an attempt to add a command to remove those files automatically, I created a script that removed everything… including itself. As I’m writing this, I’m pretty proud to announce that I outdid myself.