packages feed

gore-and-ash-async 1.1.0.0 → 1.1.1.0

raw patch · 4 files changed

+70/−1 lines, 4 files

Files

+ CHANGELOG.md view
@@ -0,0 +1,4 @@+1.1.1.0+=======++* Add changelog and update stack.yaml, add `extra-source-files` to cabal file.
+ README.md view
@@ -0,0 +1,25 @@+gore-and-ash-async+==================++The module provides API for embedding concurrent IO actions into main game loop 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-async.git+    commit: <PLACE HERE FULL HASH OF LAST COMMIT> +```++When defining you application stack, add `AsyncT`:+``` haskell+type AppStack = ModuleStack [AsyncT, ... other modules ... ] IO+```++And derive `MonadAsync` for your resulting `AppMonad`:+``` haskell+newtype AppMonad a = AppMonad (AppStack a)+  deriving (Functor, Applicative, Monad, MonadFix, MonadIO, MonadThrow, MonadCatch, MonadAsync)+```
gore-and-ash-async.cabal view
@@ -1,5 +1,5 @@ name:                gore-and-ash-async-version:             1.1.0.0+version:             1.1.1.0 synopsis:            Core module for Gore&Ash engine that embeds async IO actions into game loop. description:         Please see README.md homepage:            https://github.com/TeaspotStudio/gore-and-ash-async#readme@@ -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,36 @@+# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration.html++# 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: >= 1.0.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]++# Allow a newer minor version of GHC than the snapshot specifies+# compiler-check: newer-minor