From fccefcd1dd2e004afc4b1e322a10657f28221cde Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Fri, 24 Dec 2010 14:53:56 +0200 Subject: [PATCH] Rename to yesod-core --- Yesod/Yesod.hs | 4 ++-- yesod.cabal => yesod-core.cabal | 19 +++---------------- 2 files changed, 5 insertions(+), 18 deletions(-) rename yesod.cabal => yesod-core.cabal (88%) diff --git a/Yesod/Yesod.hs b/Yesod/Yesod.hs index ee094a15..bb6bd498 100644 --- a/Yesod/Yesod.hs +++ b/Yesod/Yesod.hs @@ -40,7 +40,7 @@ import Yesod.Content import Yesod.Handler #endif -import qualified Paths_yesod +import qualified Paths_yesod_core import Data.Version (showVersion) import Yesod.Widget import Yesod.Request @@ -534,4 +534,4 @@ redirectToPost dest = hamletToRepHtml |] >>= sendResponse yesodVersion :: String -yesodVersion = showVersion Paths_yesod.version +yesodVersion = showVersion Paths_yesod_core.version diff --git a/yesod.cabal b/yesod-core.cabal similarity index 88% rename from yesod.cabal rename to yesod-core.cabal index 5aaaf0f4..39f97acf 100644 --- a/yesod.cabal +++ b/yesod-core.cabal @@ -1,4 +1,4 @@ -name: yesod +name: yesod-core version: 0.7.0 license: BSD3 license-file: LICENSE @@ -14,7 +14,6 @@ stability: Stable cabal-version: >= 1.6 build-type: Simple homepage: http://docs.yesodweb.com/ -extra-source-files: scaffold/*.cg flag test description: Build the executable to run unit tests @@ -70,21 +69,9 @@ library Yesod.Helpers.Sitemap Yesod.Helpers.Static other-modules: Yesod.Internal - Paths_yesod + Paths_yesod_core ghc-options: -Wall -executable yesod - if flag(ghc7) - build-depends: base >= 4.3 && < 5 - cpp-options: -DGHC7 - else - build-depends: base >= 4 && < 4.3 - build-depends: parsec >= 2.1 && < 4 - ghc-options: -Wall - main-is: scaffold.hs - other-modules: CodeGen - extensions: TemplateHaskell - executable runtests if flag(ghc7) build-depends: base >= 4.3 && < 5 @@ -106,4 +93,4 @@ executable runtests source-repository head type: git - location: git://github.com/snoyberg/yesod.git + location: git://github.com/snoyberg/yesod-core.git