Prefix cabal name with «hanafuda» and export more types used in the webapp
This commit is contained in:
parent
79c9488543
commit
607b253f3b
2 changed files with 6 additions and 3 deletions
|
@ -3,7 +3,7 @@ cabal-version: >=1.10
|
|||
-- init'. For further documentation, see
|
||||
-- http://haskell.org/cabal/users-guide/
|
||||
|
||||
name: APILanguage
|
||||
name: hanafuda-APILanguage
|
||||
version: 0.1.0.0
|
||||
synopsis: The language spoken by the server and clients over the websocket.
|
||||
-- description:
|
||||
|
@ -20,10 +20,9 @@ extra-source-files: CHANGELOG.md
|
|||
|
||||
library
|
||||
exposed-modules: Hanafuda.Message
|
||||
--other-modules: Hanafuda.Key
|
||||
-- other-extensions:
|
||||
build-depends: aeson
|
||||
, base >=4.12 && <4.13
|
||||
, base >=4.11 && <4.13
|
||||
, containers
|
||||
, hanafuda
|
||||
, text
|
|
@ -4,6 +4,10 @@
|
|||
{-# LANGUAGE TypeSynonymInstances #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
module Hanafuda.Message (
|
||||
T(..)
|
||||
, FromClient(..)
|
||||
, PlayerStatus(..)
|
||||
, Room
|
||||
) where
|
||||
|
||||
import Data.Char (toLower)
|
||||
|
|
Loading…
Reference in a new issue