Skip to content
Snippets Groups Projects
Commit 500f3ad0 authored by Jack Wines's avatar Jack Wines
Browse files

cleanup and CI

parent 8cb3c8c5
Branches
No related tags found
No related merge requests found
image: alpine/edge
packages:
- ghc
- cabal
tasks:
- build: |
cd go-game
cabal update
cabal build
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.31.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: 9c5bbd1a42b3d1270c61584b3c6d14adf953e58ae6c1e2453624bd543ce35b52
name: GoGame
version: 0.1.0.0
description: Please see the README on Github at <https://github.com/jackoe/GoGame#readme>
homepage: https://github.com/jackoe/GoGame#readme
bug-reports: https://github.com/jackoe/GoGame/issues
author: Jack Wines
maintainer: jackwines@mac.com
copyright: 2018 Jack Wines
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
source-repository head
type: git
location: https://github.com/jackoe/GoGame
library
exposed-modules:
Board
Database
SVGBuilder
other-modules:
Paths_GoGame
hs-source-dirs:
src
default-extensions: ScopedTypeVariables OverloadedStrings DeriveDataTypeable TemplateHaskell TypeFamilies DeriveGeneric StandaloneDeriving
build-depends:
acid-state
, aeson
, array
, base
, blaze-html
, bytestring
, containers
, mtl
, safecopy
, scotty
, svg-builder
, text
, wai
, wai-extra
, wai-middleware-static
, wai-websockets
, warp
, websockets
default-language: Haskell2010
executable goGame-exe
main-is: Main.hs
other-modules:
Paths_GoGame
hs-source-dirs:
app
default-extensions: ScopedTypeVariables OverloadedStrings DeriveDataTypeable TemplateHaskell TypeFamilies DeriveGeneric StandaloneDeriving
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
GoGame
, acid-state
, aeson
, array
, base
, blaze-html
, bytestring
, containers
, mtl
, safecopy
, scotty
, svg-builder
, text
, wai
, wai-extra
, wai-middleware-static
, wai-websockets
, warp
, websockets
default-language: Haskell2010
test-suite goGame-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_GoGame
hs-source-dirs:
test
default-extensions: ScopedTypeVariables OverloadedStrings DeriveDataTypeable TemplateHaskell TypeFamilies DeriveGeneric StandaloneDeriving
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
GoGame
, acid-state
, aeson
, array
, base
, blaze-html
, bytestring
, containers
, mtl
, safecopy
, scotty
, svg-builder
, text
, wai
, wai-extra
, wai-middleware-static
, wai-websockets
, warp
, websockets
default-language: Haskell2010
[![builds.sr.ht status](https://builds.sr.ht/~jackwines/go-game.svg)](https://builds.sr.ht/~jackwines/go-game?)
This takes a game of go, represented as a series of moves, applies the rules for each move, and then outputs them as `svg` using `blaze-svg`. It then uses `scotty` and makes a fully-functioning website that lets you play a game of go with anyone anywhere. Using `websockets`, moves your opponent makes update in real time.
These already exist, but they require logins and whatnot. This one doesn't.
......
......
flags: {}
extra-package-dbs: []
packages:
- .
extra-deps: [acid-state-0.14.3]
resolver: lts-12.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment