vaclavsvejcar / headroom

©️ Manager for license headers in source code files.
https://doc.norcane.com/headroom/latest/
BSD 3-Clause "New" or "Revised" License
48 stars 3 forks source link

Decouple IO actions for better testing #48

Closed vaclavsvejcar closed 4 years ago

vaclavsvejcar commented 4 years ago

Currently the IO operations such as file manipulation are hardcoded across the codebase and difficult to test. Goal of this task is to extract them into (probably) polymorphic record of functions (https://gvolpe.github.io/blog/lessons-learned-while-writing-a-haskell-app/).

vaclavsvejcar commented 4 years ago

Implemented & released as part of v0.3.1.0.