diff options
| author | mtgmonkey <mtgmonkey@nixos> | 2025-12-13 19:22:42 +0100 |
|---|---|---|
| committer | mtgmonkey <mtgmonkey@nixos> | 2025-12-13 19:22:42 +0100 |
| commit | e9b4e2d34af8f0ea4a54d8d093108cdfdc68757c (patch) | |
| tree | 125b11cc5e5d28c12298d1a1e95bdad706e67c5d /README.md | |
| parent | 73985e298a407ecc161d65b6bf92d3fc535aa73a (diff) | |
Cabal; non-Nix support
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 41 |
1 files changed, 25 insertions, 16 deletions
@@ -1,21 +1,30 @@ -to run: +see CHANGELOG.md -```bash -git clone https://git.mtgmonkey.net/Andromeda/hs-game -cd hs-game -nix run -``` +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 release: - -```bash -nix build .#release -``` +to run with nix: +`nix run git+https://git.mtgmonkey.net/Andromeda/hs-game` -to debug build: +to enter nix development shell: +`nix develop git+https://git.mtgmonkey.net/Andromeda/hs-game` -```bash -nix build .#debug -``` +build tested on +- nix +- Kubuntu 25.10 -todo moved to CHANGELOG.md +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 |
