- ghc == 8.10.4
- cabal >= 3.4
- python == 3.9
- conan == 1.60.1
- cmake >= 2.8.12
cabal build
cabal run go-haskell -- cli
Key | Command |
---|---|
Esc | Exit |
f | Place Stone |
g | Pass |
k | Move top |
l | Move right |
j | Move down |
h | Move left |
Export and build conan package:
conan create . go-haskell-socket-api/testing
conan profile update settings.compiler.libcxx=libstdc++11 default
Run Tests:
conan test tests GoHaskellSocketApiTest/0.0.1@go-haskell-socket-api/testing
docker run -p 8000:8000 --name go-game-socket-server asattelmaier/go-game-socket-server:latest
You must first build the project.
Create Image:
# Docker Hub
docker image build -t asattelmaier/go-game-socket-server:latest -f docker/socket-server/Dockerfile .
# Google Cloud
docker image build -t europe-west1-docker.pkg.dev/PROJECT_ID/go-services/go-game-socket-server:latest -f docker/socket-server/Dockerfile .
Push Image:
# Docker Hub
docker push asattelmaier/go-game-socket-server:latest
# Google Cloud
docker push europe-west1-docker.pkg.dev/PROJECT_ID/go-services/go-game-socket-server:latest
Only UNIX and UNIX-like operating systems are supported.