swarm/scripts/build-game.sh
Brent Yorgey a8087b725a
Recommend cabal (#1822)
Changes to documentation etc. to recommend the use of `cabal` rather than `stack`.  Closes #1820.

- [x] Update `README.md`
- [x] Update `feedback.yaml`
- [x] Update scripts in `scripts/`
- [x] Update `CONTRIBUTING.md`
- [x] Maybe HLS defaults to using Stack now? Should we create a `hie.yaml.cabal` file with `cradle: cabal:`?
    - See https://discourse.haskell.org/t/whats-the-current-status-of-hls-cradle-discovery/8254/5
    - See https://github.com/Avi-D-coder/implicit-hie
2024-05-06 00:09:33 +00:00

11 lines
325 B
Bash
Executable File

#!/bin/bash -ex
cd $(git rev-parse --show-toplevel)
# NOTE: There are several executables within the swarm.cabal project.
# If you only want to play the swarm game, you should specify an explicit
# target 'swarm:exe:swarm' to the 'stack' command, to avoid building
# extra dependencies.
cabal build -j -O0 swarm:exe:swarm