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
10 lines
447 B
Bash
Executable File
10 lines
447 B
Bash
Executable File
#!/bin/bash -ex
|
|
|
|
cd $(git rev-parse --show-toplevel)
|
|
|
|
# This compiles without optimizations and then runs the resulting executable.
|
|
# It's been observed in certain versions of GHC that compiling with optimizations
|
|
# results in the swarm UI freezing for a potentially long time upon starting a scenario.
|
|
# See https://github.com/swarm-game/swarm/issues/1000#issuecomment-1378632269
|
|
scripts/build-game.sh && cabal run -j -O0 swarm:exe:swarm -- "$@"
|