writefreely / writefreely-swift

A Swift package wrapping the WriteFreely / Write.as API
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

Add automation to the repository for testing/linting/etc #6

Closed AngeloStavrow closed 3 years ago

AngeloStavrow commented 4 years ago

If you care about something, you should automate it.

Komondor README

It's best to spend time solving problems, not the administrivia of tabs-versus-spaces. To that end, automation for things like linting, formatting, and testing would be helpful.

We could use GitHub Actions in some cases, but again, that ties us to GitHub. IMO, it's better instead to leverage Git Hooks via Komondor for our package.

A fairly useful initial setup would be to set up a pre-commit hook that:

AngeloStavrow commented 3 years ago

This is (mostly) done in 7fd1c6a, so I'm closing this issue.