Skip to content

Commit

Permalink
Remove build flag for old-base
Browse files Browse the repository at this point in the history
  • Loading branch information
danpalmer committed Jun 11, 2016
1 parent 72a6c23 commit 747aba1
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions snap-starter.cabal
Expand Up @@ -14,10 +14,6 @@ Flag development
Description: Whether to build the server in development (interpreted) mode
Default: False

Flag old-base
default: False
manual: False

Executable snap-starter
hs-source-dirs: src
main-is: Main.hs
Expand All @@ -33,16 +29,9 @@ Executable snap-starter
snap-loader-static >= 0.9 && < 0.10,
text >= 0.11 && < 1.3,
time >= 1.1 && < 1.6,
xmlhtml >= 0.1 && < 0.3

if flag(old-base)
build-depends:
base >= 4 && < 4.4,
lens >= 3.7.6 && < 3.8
else
build-depends:
base >= 4.4 && < 5,
lens >= 3.7.6 && < 4.13
xmlhtml >= 0.1 && < 0.3,
base >= 4.4 && < 5,
lens >= 3.7.6 && < 4.13

if flag(development)
build-depends:
Expand Down

0 comments on commit 747aba1

Please sign in to comment.