stackbuilders / hspec-golden

Golden tests with Hspec
MIT License
26 stars 8 forks source link

Using optparse-applicative to upload package to Stackage #9

Closed Jagl257 closed 5 years ago

Jagl257 commented 5 years ago

Description

Replace simple-get-opt dependency with optparse-applicative in order to be able to upload hspec-golden to stackage

Review

@CristhianMotoche , when the hgold is run without parameters the default directory path is: .golden. When hgold is run with -u flag, a directory path must be given for hgold to work.

Results

hgoldupdate

CristhianMotoche commented 5 years ago

@Jagl257 Looks good! Thanks for the contribution. Could you please add a result of the CLI here?

Jagl257 commented 5 years ago

@CristhianMotoche All changes are finished, can you check them out please.