Permalink
Browse files

Restructured auth snaplet to improve haddock structure. Other misc wo…

…rk on

docs and tests.
  • Loading branch information...
1 parent b494ed1 commit e88b397294af2fcb7adbf5e4604e3022a91e056d @mightybyte mightybyte committed Oct 12, 2011
View
@@ -17,8 +17,7 @@ import Snap.Snaplet
import Snap.Snaplet.Heist
import Snap.Snaplet.Session
import Snap.Snaplet.Session.Backends.CookieSession
-import Snap.Snaplet.Auth
-import Snap.Snaplet.Auth.Handlers
+import Snap.Snaplet.Auth hiding (session)
import Snap.Snaplet.Auth.Backends.JsonFile
import Text.Templating.Heist
View
@@ -51,18 +51,18 @@ Library
Snap.Snaplet,
Snap.Snaplet.Heist,
Snap.Snaplet.Auth,
- Snap.Snaplet.Auth.AuthManager,
- Snap.Snaplet.Auth.Types,
- Snap.Snaplet.Auth.Handlers,
- Snap.Snaplet.Auth.SpliceHelpers,
Snap.Snaplet.Auth.Backends.JsonFile,
Snap.Snaplet.Session,
Snap.Snaplet.Session.Backends.CookieSession
other-modules:
Snap.Loader.Devel.Evaluator,
Snap.Loader.Devel.Signal,
- Snap.Loader.Devel.TreeWatcher
+ Snap.Loader.Devel.TreeWatcher,
+ Snap.Snaplet.Auth.AuthManager,
+ Snap.Snaplet.Auth.Types,
+ Snap.Snaplet.Auth.Handlers,
+ Snap.Snaplet.Auth.SpliceHelpers,
Snap.Snaplet.HeistNoClass,
Snap.Snaplet.Internal.Initializer,
Snap.Snaplet.Internal.LensT,
@@ -163,32 +163,6 @@ Executable snap
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
-fno-warn-orphans
-Executable app
- hs-source-dirs: src, examples
- main-is: App.hs
-
- build-depends:
- base >= 4 && < 5,
- bytestring,
- mtl >= 2,
- old-locale,
- old-time,
- snap-core >= 0.6 && < 0.7,
- snap-server >= 0.6 && < 0.7,
- template-haskell >= 2.3 && < 2.7,
- text >= 0.11 && <0.12,
- time,
- unix-compat
-
- ghc-prof-options: -prof -auto-all
-
- if impl(ghc >= 6.12.0)
- ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
- -fno-warn-orphans -fno-warn-unused-do-bind
- else
- ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
- -fno-warn-orphans
-
source-repository head
type: git
location: https://github.com/snapframework/snap.git
Oops, something went wrong.

0 comments on commit e88b397

Please sign in to comment.