mirror of
https://github.com/swarm-game/swarm.git
synced 2024-09-11 22:58:21 +03:00
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
11 lines
325 B
Bash
Executable File
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
|