lucid-foundation (empty) → 0.0.1
raw patch · 6 files changed
+106/−0 lines, 6 filesdep +QuickCheckdep +basedep +hspecsetup-changed
Dependencies added: QuickCheck, base, hspec, lucid, quickcheck-instances, text
Files
- LICENSE +30/−0
- Setup.hs +2/−0
- lucid-foundation.cabal +36/−0
- src/Lucid/Foundation.hs +34/−0
- src/Lucid/Foundation/Internal.hs +3/−0
- test/Spec.hs +1/−0
+ LICENSE view
@@ -0,0 +1,30 @@+Copyright (c) 2015, Athan Clark++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++ * Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.++ * Redistributions in binary form must reproduce the above+ copyright notice, this list of conditions and the following+ disclaimer in the documentation and/or other materials provided+ with the distribution.++ * Neither the name of Athan Clark nor the names of other+ contributors may be used to endorse or promote products derived+ from this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ lucid-foundation.cabal view
@@ -0,0 +1,36 @@+Name: lucid-foundation+Version: 0.0.1+Author: Athan Clark <athan.clark@gmail.com>+Maintainer: Athan Clark <athan.clark@gmail.com>+License: BSD3+License-File: LICENSE+Synopsis: Basic Zurb Foundation API in Lucid+-- Description: +Cabal-Version: >= 1.10+Build-Type: Simple++Library+ Default-Language: Haskell2010+ HS-Source-Dirs: src+ GHC-Options: -Wall+ Exposed-Modules: Lucid.Foundation+ Other-Modules: Lucid.Foundation.Internal+ Build-Depends: base >= 4 && < 5+ , lucid >= 2.9+ , text++Test-Suite spec+ Type: exitcode-stdio-1.0+ Default-Language: Haskell2010+ Hs-Source-Dirs: src+ , test+ Ghc-Options: -Wall+ Main-Is: Spec.hs+ Build-Depends: base+ , hspec+ , QuickCheck+ , quickcheck-instances++Source-Repository head+ Type: git+ Location: https://github.com/athanclark/lucid-foundation
+ src/Lucid/Foundation.hs view
@@ -0,0 +1,34 @@+{-# OPTIONS -fno-warn-type-defaults #-}+{-# LANGUAGE ExtendedDefaultRules #-}+{-# LANGUAGE OverloadedStrings #-}++-- | Foundation layout elements. See+-- <http://foundation.zurb.com/> for more information.++module Lucid.Foundation+ ( module Lucid.Foundation.Structure+ , module Lucid.Foundation.Navigation+ , module Lucid.Foundation.Media+ , module Lucid.Foundation.Forms+ , module Lucid.Foundation.Buttons+ , module Lucid.Foundation.Typography+ , module Lucid.Foundation.Callouts+ , module Lucid.Foundation.Content+ ) where+++import Lucid.Foundation.Structure+import Lucid.Foundation.Navigation+import Lucid.Foundation.Media+import Lucid.Foundation.Forms+import Lucid.Foundation.Buttons+import Lucid.Foundation.Typography+import Lucid.Foundation.Callouts+import Lucid.Foundation.Content++import Lucid.Base+import Lucid.Html5++import qualified Data.Text as T+import Data.Monoid+
+ src/Lucid/Foundation/Internal.hs view
@@ -0,0 +1,3 @@+module Lucid.Foundation.Internal+ (+ ) where
+ test/Spec.hs view
@@ -0,0 +1,1 @@+{-# OPTIONS_GHC -F -pgmF hspec-discover #-}