Rules: Refactor generateTargets
authorBen Gamari <ben@smart-cactus.org>
Sun, 20 Dec 2015 19:49:29 +0000 (20:49 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sun, 20 Dec 2015 19:52:59 +0000 (20:52 +0100)
commitc84445f81aafbe4089d860ae4a3e0c020a38b118
treee8c61e5e7878517dc812f8690d91448c9f39e758
parent139d90d43b6a8fb125ea05136531848cebb96096
Rules: Refactor generateTargets

This previously used `fromJust`, which bottomed due to the recent
`isLibrary` change.
src/Rules.hs