From 7523fb56c4fb9d35738d995909cc7b9b582ac187 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Sat, 13 Jul 2019 09:08:59 +1200 Subject: [PATCH] Initialize codebase. --- ChangeLog.md | 5 ++++ Setup.hs | 2 ++ rhapsode.cabal | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/Main.hs | 4 +++ 4 files changed, 81 insertions(+) create mode 100644 ChangeLog.md create mode 100644 Setup.hs create mode 100644 rhapsode.cabal create mode 100644 src/Main.hs diff --git a/ChangeLog.md b/ChangeLog.md new file mode 100644 index 0000000..4df2ab3 --- /dev/null +++ b/ChangeLog.md @@ -0,0 +1,5 @@ +# Revision history for rhapsode + +## 0.1.0.0 -- YYYY-mm-dd + +* First version. Released on an unsuspecting world. 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/rhapsode.cabal b/rhapsode.cabal new file mode 100644 index 0000000..dd52631 --- /dev/null +++ b/rhapsode.cabal @@ -0,0 +1,70 @@ +-- Initial rhapsode.cabal generated by cabal init. For further +-- documentation, see http://haskell.org/cabal/users-guide/ + +-- The name of the package. +name: rhapsode + +-- The package version. See the Haskell package versioning policy (PVP) +-- for standards guiding when and how versions should be incremented. +-- https://wiki.haskell.org/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: Voice interface for The Web, encouraging universal accessibility. + +-- A longer description of the package. +-- description: + +-- URL for the project homepage or repository. +homepage: https://git.nzoss.org.nz/alcinnz/rhapsode + +-- 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: Adrian Cochrane + +-- An email address to which users can send suggestions, bug reports, and +-- patches. +maintainer: adrian@openwork.nz + +-- 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: ChangeLog.md, README.md + +-- Constraint on the version of Cabal needed to build this package. +cabal-version: >=1.10 + + +executable rhapsode + -- .hs or .lhs file containing the Main module. + main-is: Main.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.9 && <4.10 + + -- Directories containing source files. + hs-source-dirs: src + + -- Base language which the package is written in. + default-language: Haskell2010 + diff --git a/src/Main.hs b/src/Main.hs new file mode 100644 index 0000000..65ae4a0 --- /dev/null +++ b/src/Main.hs @@ -0,0 +1,4 @@ +module Main where + +main :: IO () +main = putStrLn "Hello, Haskell!" -- 2.30.2