cleanup test branch
This commit is contained in:
parent
7803cbb10e
commit
494b2be299
@ -10,5 +10,4 @@ pkgs=( ./yesod-routes
|
|||||||
./yesod-auth
|
./yesod-auth
|
||||||
./yesod-sitemap
|
./yesod-sitemap
|
||||||
./yesod-default
|
./yesod-default
|
||||||
./yesod
|
./yesod )
|
||||||
./yesod-test )
|
|
||||||
|
|||||||
@ -23,10 +23,10 @@ library
|
|||||||
build-depends: base >= 4 && < 4.3
|
build-depends: base >= 4 && < 4.3
|
||||||
build-depends: hxt >= 9.1.6
|
build-depends: hxt >= 9.1.6
|
||||||
, parsec >= 2.1 && < 4
|
, parsec >= 2.1 && < 4
|
||||||
, persistent >= 0.7 && < 0.8
|
, persistent >= 0.8 && < 0.9
|
||||||
, transformers >= 0.2.2 && < 0.3
|
, transformers >= 0.2.2 && < 0.3
|
||||||
, wai >= 1.0 && < 1.1
|
, wai >= 1.1 && < 1.2
|
||||||
, wai-test >= 1.0 && < 1.1
|
, wai-test >= 1.0 && < 2.0
|
||||||
, network >= 2.2 && < 2.4
|
, network >= 2.2 && < 2.4
|
||||||
, http-types >= 0.6 && < 0.7
|
, http-types >= 0.6 && < 0.7
|
||||||
, HUnit >= 1.2 && < 1.3
|
, HUnit >= 1.2 && < 1.3
|
||||||
|
|||||||
@ -84,9 +84,7 @@ scaffold = do
|
|||||||
backendLower = uncapitalize $ show backend
|
backendLower = uncapitalize $ show backend
|
||||||
upper = show backend
|
upper = show backend
|
||||||
|
|
||||||
puts $(codegenDir "input" "use-tests")
|
let useTests = True
|
||||||
useTestsC <- prompt $ flip elem $ [return 'y', return 'n']
|
|
||||||
let useTests = useTestsC == "y"
|
|
||||||
let testsDep = if useTests then ", yesod-test" else ""
|
let testsDep = if useTests then ", yesod-test" else ""
|
||||||
|
|
||||||
let runMigration =
|
let runMigration =
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user