From 0fb38937011d0c80abf717fff30bff37e47fc709 Mon Sep 17 00:00:00 2001 From: Rose Date: Wed, 15 May 2019 04:09:11 +0100 Subject: [PATCH] modified changelog and restructured project as a library --- ChangeLog.md | 9 ++++++++- {app => example}/Main.hs | 0 lazyboy.cabal | 25 +++++-------------------- package.yaml | 32 +++++++++++++++++--------------- 4 files changed, 30 insertions(+), 36 deletions(-) rename {app => example}/Main.hs (100%) diff --git a/ChangeLog.md b/ChangeLog.md index 6451a86..d3479c1 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,10 @@ -# Changelog for dmg +# Changelog for Lazyboy + +# 0.2.0.0 +- Started versioning. +- Formatted as a library package. + +# 0.1.0.0 +- Initial version. ## Unreleased changes diff --git a/app/Main.hs b/example/Main.hs similarity index 100% rename from app/Main.hs rename to example/Main.hs diff --git a/lazyboy.cabal b/lazyboy.cabal index e49b436..306673c 100644 --- a/lazyboy.cabal +++ b/lazyboy.cabal @@ -4,16 +4,18 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 84c217448ac148dc958befa1bb459b81dd64252f634cbb312eea46a47b042f71 +-- hash: dc9d68e519cd2d5a750cc8bd934657c18d69c93e7ab031ec746b488daa97c459 name: lazyboy -version: 0.1.0.0 +version: 0.2.0.0 +synopsis: An EDSL for programming the Game Boy. description: An EDSL for programming the Nintendo Game Boy. +category: DSL homepage: https://github.com/ix/lazyboy#readme bug-reports: https://github.com/ix/lazyboy/issues author: Rose maintainer: rose@lain.org.uk -copyright: 2018 Rose +copyright: 2019 Rose license: BSD3 license-file: LICENSE build-type: Simple @@ -49,23 +51,6 @@ library , transformers default-language: Haskell2010 -executable lazyboy - main-is: Main.hs - other-modules: - Paths_lazyboy - hs-source-dirs: - app - ghc-options: -optP-Wno-nonportable-include-path -threaded -rtsopts -with-rtsopts=-N - build-depends: - aeson - , base >=4.7 && <5 - , hspec - , lazyboy - , microstache - , text - , transformers - default-language: Haskell2010 - test-suite lazyboy-test type: exitcode-stdio-1.0 main-is: Spec.hs diff --git a/package.yaml b/package.yaml index 6747459..e8b781e 100644 --- a/package.yaml +++ b/package.yaml @@ -1,10 +1,12 @@ name: lazyboy -version: 0.1.0.0 +version: 0.2.0.0 github: "ix/lazyboy" license: BSD3 author: "Rose" maintainer: "rose@lain.org.uk" -copyright: "2018 Rose" +copyright: "2019 Rose" +category: DSL +synopsis: An EDSL for programming the Game Boy. extra-source-files: - README.md @@ -20,7 +22,7 @@ data-files: templates/*.mustache # To avoid duplicated efforts in documentation and dealing with the # complications of embedding Haddock markup inside cabal files, it is # common to point users to the README.md file. -description: An EDSL for programming the Nintendo Game Boy. +description: An EDSL for programming the Nintendo Game Boy. dependencies: - base >= 4.7 && < 5 @@ -33,17 +35,17 @@ dependencies: library: source-dirs: src -executables: - lazyboy: - main: Main.hs - source-dirs: app - ghc-options: - - -threaded - - -rtsopts - - -with-rtsopts=-N - dependencies: - - lazyboy - +#executables: +# lazyboy: +# main: Main.hs +# source-dirs: app +# ghc-options: +# - -threaded +# - -rtsopts +# - -with-rtsopts=-N +# dependencies: +# - lazyboy +# tests: lazyboy-test: main: Spec.hs @@ -56,4 +58,4 @@ tests: - lazyboy -ghc-options: ["-optP-Wno-nonportable-include-path"] \ No newline at end of file +ghc-options: ["-optP-Wno-nonportable-include-path"]