This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap".
The branch, master has been updated
via 4a71f549ad43d10dd73724cdd64ced437a9936c9 (commit)
from 28b7ec84cd44f71181fd7a9b20a27a6f74dc08ec (commit)
Summary of changes:
project_template/default/src/Main.hs | 2 +-
snap.cabal | 5 ++---
src/Snap/Extension/Loader/{Hint.hs => Devel.hs} | 4 ++--
.../Extension/Loader/{Hint => Devel}/Helper.hs | 2 +-
src/Snap/Extension/Server/Hint.hs | 5 -----
5 files changed, 6 insertions(+), 12 deletions(-)
rename src/Snap/Extension/Loader/{Hint.hs => Devel.hs} (99%)
rename src/Snap/Extension/Loader/{Hint => Devel}/Helper.hs (92%)
delete mode 100644 src/Snap/Extension/Server/Hint.hs
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4a71f549ad43d10dd73724cdd64ced437a9936c9
Author: Gregory Collins <[email protected]>
Date: Sun Dec 19 18:22:05 2010 +0100
s/Hint/Devel/ in module names
diff --git a/project_template/default/src/Main.hs
b/project_template/default/src/Main.hs
index 18251ef..01a52f8 100644
--- a/project_template/default/src/Main.hs
+++ b/project_template/default/src/Main.hs
@@ -46,7 +46,7 @@ module Main where
#ifdef PRODUCTION
import Snap.Extension.Server
#else
-import Snap.Loader.Hint
+import Snap.Loader.Devel
import Snap.Http.Server (quickHttpServe)
#endif
diff --git a/snap.cabal b/snap.cabal
index 90f0842..aad4b31 100644
--- a/snap.cabal
+++ b/snap.cabal
@@ -46,14 +46,13 @@ Library
exposed-modules:
Snap.Extension.Heist,
Snap.Extension.Heist.Impl,
- Snap.Extension.Loader.Hint,
- Snap.Extension.Server.Hint,
+ Snap.Extension.Loader.Devel,
Snap.Extension.Server,
Snap.Extension,
Snap.Heist
other-modules:
- Snap.Extension.Loader.Hint.Helper
+ Snap.Extension.Loader.Devel.Helper
build-depends:
base >= 4 && < 5,
diff --git a/src/Snap/Extension/Loader/Hint.hs
b/src/Snap/Extension/Loader/Devel.hs
similarity index 99%
rename from src/Snap/Extension/Loader/Hint.hs
rename to src/Snap/Extension/Loader/Devel.hs
index db8c832..9439ea8 100644
--- a/src/Snap/Extension/Loader/Hint.hs
+++ b/src/Snap/Extension/Loader/Devel.hs
@@ -5,7 +5,7 @@
-- to gather the necessary compile-time information about code
-- location, compiler arguments, etc, and bind that information into
-- the calls to the dynamic loader.
-module Snap.Extension.Loader.Hint
+module Snap.Extension.Loader.Devel
( loadSnapTH
) where
@@ -32,7 +32,7 @@ import System.Environment (getArgs)
------------------------------------------------------------------------------
import Snap.Types
import Snap.Extension (runInitializerHint)
-import Snap.Extension.Loader.Hint.Helper
+import Snap.Extension.Loader.Devel.Helper
------------------------------------------------------------------------------
-- | This function derives all the information necessary to use the
diff --git a/src/Snap/Extension/Loader/Hint/Helper.hs
b/src/Snap/Extension/Loader/Devel/Helper.hs
similarity index 92%
rename from src/Snap/Extension/Loader/Hint/Helper.hs
rename to src/Snap/Extension/Loader/Devel/Helper.hs
index 7f1928b..24c8030 100644
--- a/src/Snap/Extension/Loader/Hint/Helper.hs
+++ b/src/Snap/Extension/Loader/Devel/Helper.hs
@@ -1,5 +1,5 @@
{-# LANGUAGE CPP #-}
-module Snap.Extension.Loader.Hint.Helper (protectHandlers) where
+module Snap.Extension.Loader.Devel.Helper (protectHandlers) where
import Control.Exception (bracket)
diff --git a/src/Snap/Extension/Server/Hint.hs
b/src/Snap/Extension/Server/Hint.hs
deleted file mode 100644
index adf6200..0000000
--- a/src/Snap/Extension/Server/Hint.hs
+++ /dev/null
@@ -1,5 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE OverloadedStrings #-}
-{-# LANGUAGE TemplateHaskell #-}
-
-module Snap.Extension.Server.Hint where
-----------------------------------------------------------------------
hooks/post-receive
--
snap
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap