packages feed

gore-and-ash-logging 2.0.0.0 → 2.0.1.0

raw patch · 4 files changed

+67/−1 lines, 4 files

Files

+ CHANGELOG.md view
@@ -0,0 +1,4 @@+2.0.1.0+=======++* Added changelog and extra source files to cabal.
+ README.md view
@@ -0,0 +1,25 @@+gore-and-ash-logging+====================++The module provides facilities for console logging for [Gore&Ash](https://github.com/Teaspot-Studio/gore-and-ash) engine.++Installing+==========++Add following to your `stack.yml` to `packages` section:+```yaml+- location:+    git: https://github.com/Teaspot-Studio/gore-and-ash-logging.git+    commit: <PLACE HERE FULL HASH OF LAST COMMIT> +```++When defining you application stack, add `LoggingT`:+``` haskell+type AppStack = ModuleStack [LoggingT, ... other modules ... ] IO+```++And derive `LoggingMonad` for your resulting `AppMonad`:+``` haskell+newtype AppMonad a = AppMonad (AppStack a)+  deriving (Functor, Applicative, Monad, MonadFix, MonadIO, LoggingMonad)+```
gore-and-ash-logging.cabal view
@@ -1,5 +1,5 @@ name:                gore-and-ash-logging-version:             2.0.0.0+version:             2.0.1.0 synopsis:            Core module for gore-and-ash with logging utilities description:         Please see README.md homepage:            https://github.com/Teaspot-Studio/gore-and-ash-logging@@ -11,6 +11,10 @@ category:            Game build-type:          Simple cabal-version:       >=1.10+extra-source-files:+  README.md+  CHANGELOG.md+  stack.yaml  library   hs-source-dirs:      src
+ stack.yaml view
@@ -0,0 +1,33 @@+# For more information, see: https://github.com/commercialhaskell/stack/blob/release/doc/yaml_configuration.md++# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)+resolver: lts-7.9++# Local packages, usually specified by relative directory name+packages:+- '.'++# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)+extra-deps:+- gore-and-ash-1.2.2.0++# Override default flag values for local packages and extra-deps+flags: {}++# Extra package databases containing global packages+extra-package-dbs: []++# Control whether we use the GHC we find on the path+# system-ghc: true++# Require a specific version of stack, using version ranges+# require-stack-version: -any # Default+# require-stack-version: >= 0.1.4.0++# Override the architecture used by stack, especially useful on Windows+# arch: i386+# arch: x86_64++# Extra directories used by stack for building+# extra-include-dirs: [/path/to/dir]+# extra-lib-dirs: [/path/to/dir]