Skip to content

Commit cd33c05

Browse files
committed
Allow lens-4.17
1 parent 064c522 commit cd33c05

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ install:
7373
- grep -Ev -- '^\s*--' ${HOME}/.cabal/config | grep -Ev '^\s*$'
7474
- "printf 'packages: \".\"\\n' > cabal.project"
7575
- touch cabal.project.local
76-
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
76+
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- servant-multipart | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
7777
- cat cabal.project || true
7878
- cat cabal.project.local || true
7979
- if [ -f "./configure.ac" ]; then
@@ -95,7 +95,7 @@ script:
9595
- find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \;
9696
- "printf 'packages: servant-multipart-*/*.cabal\\n' > cabal.project"
9797
- touch cabal.project.local
98-
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
98+
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- servant-multipart | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
9999
- cat cabal.project || true
100100
- cat cabal.project.local || true
101101
# this builds all libraries and executables (without tests/benchmarks)

servant-multipart.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: servant-multipart
22
version: 0.11.2
3+
x-revision: 1
34
synopsis: multipart/form-data (e.g file upload) support for servant
45
description:
56
This package adds support for file upload to the servant ecosystem. It draws
@@ -31,7 +32,7 @@ library
3132
bytestring >= 0.10 && <0.11,
3233
directory,
3334
http-media >= 0.6 && <0.8,
34-
lens >= 4.0 && < 4.17,
35+
lens >= 4.0 && < 4.18,
3536
resourcet >=1.1 && <1.3,
3637
servant >=0.10 && <0.15,
3738
servant-docs >=0.10 && <0.15,

0 commit comments

Comments
 (0)