Skip to content

Commit

Permalink
Bump version and tidy up cabal file
Browse files Browse the repository at this point in the history
The changes from #6 and #7 could potentially be backwards-incompatible,
so this is a major version bump.
  • Loading branch information
Porges committed Jan 30, 2014
1 parent 455a29f commit d6263d8
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions email-validate.cabal
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: email-validate
version: 1.0.0
version: 2.0.0
license: BSD3
license-file: LICENSE
author: George Pollard
author: George Pollard <[email protected]>
maintainer: George Pollard <[email protected]>
homepage: http://porg.es/blog/email-address-validation-simpler-faster-more-correct
category: Text
Expand All @@ -16,25 +16,31 @@ source-repository head
type: git
location: git://github.com/Porges/email-validate-hs.git

source-repository this
type: git
location: git://github.com/Porges/email-validate-hs.git
tag: v2.0.0

library
build-depends: base >= 4 && < 5, attoparsec >= 0.10.0, bytestring >= 0.9
build-depends: base >= 4 && < 5
, attoparsec >= 0.10.0
, bytestring >= 0.9
ghc-options: -O2
hs-source-dirs: src
exposed-modules:
Text.Email.Validate, Text.Email.Parser
exposed-modules: Text.Email.Validate
, Text.Email.Parser

Test-Suite Main
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: tests
test-module Test.Text.Email.Validate
x-uses-tf: true
build-depends:
base >= 4 && < 5,
HUnit >= 1.2 && < 2,
email-validate,
QuickCheck >= 2.4,
test-framework >= 0.4.1,
test-framework-quickcheck2,
test-framework-hunit,
bytestring >= 0.9
build-depends: base >= 4 && < 5
, HUnit >= 1.2 && < 2
, email-validate
, QuickCheck >= 2.4
, test-framework >= 0.4.1
, test-framework-quickcheck2
, test-framework-hunit
, bytestring >= 0.9

0 comments on commit d6263d8

Please sign in to comment.