From 7e33aa7fe568c702f9fea89e5d056ce782cd1ef7 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Tue, 25 Mar 2014 02:52:52 -0400 Subject: [PATCH] Initial cabalization of site Signed-off-by: Collin J. Doering --- .gitignore | 1 + gpl.txt => LICENSE | 17 ++++----- Setup.hs | 2 ++ blog-rekahsoft-ca.cabal | 77 +++++++++++++++++++++++++++++++++++++++++ site.hs => src/site.hs | 0 5 files changed, 89 insertions(+), 8 deletions(-) rename gpl.txt => LICENSE (99%) create mode 100644 Setup.hs create mode 100644 blog-rekahsoft-ca.cabal rename site.hs => src/site.hs (100%) diff --git a/.gitignore b/.gitignore index 9b8b941..eeb87eb 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ site _site _cache +dist diff --git a/gpl.txt b/LICENSE similarity index 99% rename from gpl.txt rename to LICENSE index 94a9ed0..12fc7e0 100644 --- a/gpl.txt +++ b/LICENSE @@ -1,11 +1,11 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - Preamble + Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. @@ -68,7 +68,7 @@ patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. - TERMS AND CONDITIONS + TERMS AND CONDITIONS 0. Definitions. @@ -76,7 +76,7 @@ modification follow. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. - + "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. @@ -509,7 +509,7 @@ actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. - + If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties @@ -618,9 +618,9 @@ an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. - END OF TERMS AND CONDITIONS + END OF TERMS AND CONDITIONS - How to Apply These Terms to Your New Programs + How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it @@ -672,3 +672,4 @@ may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . + diff --git a/Setup.hs b/Setup.hs new file mode 100644 index 0000000..9a994af --- /dev/null +++ b/Setup.hs @@ -0,0 +1,2 @@ +import Distribution.Simple +main = defaultMain diff --git a/blog-rekahsoft-ca.cabal b/blog-rekahsoft-ca.cabal new file mode 100644 index 0000000..50f5055 --- /dev/null +++ b/blog-rekahsoft-ca.cabal @@ -0,0 +1,77 @@ +-- Initial blog-rekahsoft-ca.cabal generated by cabal init. For further +-- documentation, see http://haskell.org/cabal/users-guide/ + +-- The name of the package. +name: blog-rekahsoft-ca + +-- The package version. See the Haskell package versioning policy (PVP) +-- for standards guiding when and how versions should be incremented. +-- http://www.haskell.org/haskellwiki/Package_versioning_policy +-- PVP summary: +-+------- breaking API changes +-- | | +----- non-breaking API additions +-- | | | +--- code changes with no API change +version: 0.1.0.0 + +-- A short (one-line) description of the package. +synopsis: The source for my Hakyll powered blog at http://blog.rekahsoft.ca + +-- A longer description of the package. +-- description: + +-- URL for the project homepage or repository. +homepage: http://blog.rekahsoft.ca + +-- The license under which the package is released. +license: GPL-3 + +-- The file containing the license text. +license-file: LICENSE + +-- The package author(s). +author: Collin J. Doering + +-- An email address to which users can send suggestions, bug reports, and +-- patches. +maintainer: collin.doering@gmail.com + +-- A copyright notice. +-- copyright: + +category: Web + +build-type: Simple + +-- Extra files to be distributed with the package, such as examples or a +-- README. +-- extra-source-files: + +-- Constraint on the version of Cabal needed to build this package. +cabal-version: >=1.10 + + +executable blog-rekahsoft-ca + -- .hs or .lhs file containing the Main module. + main-is: src/site.hs + + -- Modules included in this executable, other than Main. + -- other-modules: + + -- LANGUAGE extensions used by modules in this package. + -- other-extensions: + + -- Other library packages from which modules are imported. + build-depends: base >=4.6 && <4.7, + hakyll >=4.4, + pandoc >= 1.12, + parsec >= 3.1, + filepath >= 1.3, + random >= 1.0, + time >= 1.4, + old-locale >= 1.0, + containers >= 0.5 + -- Directories containing source files. + -- hs-source-dirs: + + -- Base language which the package is written in. + default-language: Haskell2010 + \ No newline at end of file diff --git a/site.hs b/src/site.hs similarity index 100% rename from site.hs rename to src/site.hs