summaryrefslogtreecommitdiff
path: root/README.md
blob: c3065c4d0e8a637be34b2b6ad39d001db10dc5d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
see CHANGELOG.md

to run without nix:
- get build tools:
    - with apt: `apt install cabal-install ghc git`
- get source code: `git clone https://git.mtgmonkey.net/Andromeda/hs-game --depth 1; cd hs-game`
- get dependencies
    - with apt on x86-64: `apt install g++-x86-64_linux-gnu libgl-dev libx11-dev libxi-dev libxrandr-dev libxxf86vm-dev libxcursor-dev libxinerama-dev libglu1-mesa-dev`
- run with `cabal run` or build with `cabal build`

to run with nix:
`nix run git+https://git.mtgmonkey.net/Andromeda/hs-game`

to enter nix development shell:
`nix develop git+https://git.mtgmonkey.net/Andromeda/hs-game`

build tested on
- nix
- Kubuntu 25.10

to release:
- update CHANGELOG.md with new version
- update version in hs-game.cabal
- update version in flake.nix
- check that it builds
- `git add -A`
- `git status` make sure there aren't random files
- `git status -v` make sure all additions are in CHANGELOG.md
- double check that flake, .cabal, and CHANGELOG.md all have the same version
- release