Skip to content

Commit

Permalink
modified changelog and restructured project as a library
Browse files Browse the repository at this point in the history
  • Loading branch information
ix committed May 15, 2019
1 parent 4777655 commit 0fb3893
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 36 deletions.
9 changes: 8 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
@@ -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
File renamed without changes.
25 changes: 5 additions & 20 deletions lazyboy.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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. <https://github.com/ix/lazyboy#readme>
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
Expand Down Expand Up @@ -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
Expand Down
32 changes: 17 additions & 15 deletions package.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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. <https://github.com/ix/lazyboy#readme>
description: An EDSL for programming the Nintendo Game Boy. <https://github.com/ix/lazyboy#readme>

dependencies:
- base >= 4.7 && < 5
Expand All @@ -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
Expand All @@ -56,4 +58,4 @@ tests:
- lazyboy


ghc-options: ["-optP-Wno-nonportable-include-path"]
ghc-options: ["-optP-Wno-nonportable-include-path"]

0 comments on commit 0fb3893

Please sign in to comment.