mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-11-23 03:44:45 +03:00
Fix project restructure
Didn't properly move out the Main files to a separate location so the dependencies and app building was a bit wacky. This fixes that.
This commit is contained in:
parent
2b0a9fad90
commit
14e7e81f46
@ -77,14 +77,9 @@ executable level02
|
||||
-- Other library packages from which modules are imported.
|
||||
build-depends: base >=4.9 && <4.10
|
||||
, level02
|
||||
, wai == 3.2.*
|
||||
, warp == 3.2.*
|
||||
, http-types == 0.9.*
|
||||
, bytestring == 0.10.*
|
||||
, text == 1.2.*
|
||||
|
||||
-- Directories containing source files.
|
||||
hs-source-dirs: src
|
||||
hs-source-dirs: bin
|
||||
|
||||
-- Base language which the package is written in.
|
||||
default-language: Haskell2010
|
||||
|
@ -79,16 +79,9 @@ executable level03
|
||||
-- Other library packages from which modules are imported.
|
||||
build-depends: base >=4.9 && <4.10
|
||||
, level03
|
||||
, wai == 3.2.*
|
||||
, warp == 3.2.*
|
||||
, http-types == 0.9.*
|
||||
, bytestring == 0.10.*
|
||||
, text == 1.2.*
|
||||
, optparse-applicative >= 0.13
|
||||
, aeson == 1.*
|
||||
|
||||
-- Directories containing source files.
|
||||
hs-source-dirs: src
|
||||
hs-source-dirs: bin
|
||||
|
||||
-- Base language which the package is written in.
|
||||
default-language: Haskell2010
|
||||
|
@ -80,16 +80,9 @@ executable level04
|
||||
-- Other library packages from which modules are imported.
|
||||
build-depends: base >=4.9 && <4.10
|
||||
, level04
|
||||
, wai == 3.2.*
|
||||
, warp == 3.2.*
|
||||
, http-types == 0.9.*
|
||||
, bytestring == 0.10.*
|
||||
, text == 1.2.*
|
||||
, aeson == 1.*
|
||||
, optparse-applicative == 0.13.*
|
||||
|
||||
|
||||
-- Directories containing source files.
|
||||
hs-source-dirs: src
|
||||
hs-source-dirs: bin
|
||||
|
||||
-- Base language which the package is written in.
|
||||
default-language: Haskell2010
|
||||
|
@ -72,7 +72,7 @@ library
|
||||
-- Base language which the package is written in.
|
||||
default-language: Haskell2010
|
||||
|
||||
executable level05
|
||||
executable level05-exe
|
||||
-- .hs or .lhs file containing the Main module.
|
||||
main-is: Main.hs
|
||||
|
||||
@ -85,15 +85,6 @@ executable level05
|
||||
-- Other library packages from which modules are imported.
|
||||
build-depends: base >=4.9 && <4.10
|
||||
, level05
|
||||
, wai == 3.2.*
|
||||
, warp == 3.2.*
|
||||
, http-types == 0.9.*
|
||||
, bytestring == 0.10.*
|
||||
, text == 1.2.*
|
||||
, aeson == 1.*
|
||||
, optparse-applicative == 0.13.*
|
||||
, postgresql-simple == 0.5.*
|
||||
, time == 1.6.*
|
||||
|
||||
-- Base language which the package is written in.
|
||||
default-language: Haskell2010
|
||||
|
Loading…
Reference in New Issue
Block a user