Commit Graph

19 Commits

Author SHA1 Message Date
Brent Yorgey
c2a2435957
update CONTRIBUTING guide, and remove info from README (#1512)
All README info is now on the website.
2023-09-23 21:46:04 +00:00
Karl Ostmo
485e6ace1f
Fourmolu fixup (#1326)
Switch to `fourmolu-0.13` and reformat all source code.
2023-07-12 18:00:23 +00:00
Karl Ostmo
873ee19cf4
peg fourmolu version (#1311)
This is so that our PR's don't suddenly start failing when the restyled.io service bumps is `fourmolu` version.

## TODO

I wasn't actually able to install version `0.10.1.0`; both of these attempts failed:

    stack install fourmolu-0.10.1.0

and

    cabal install fourmolu-0.10.1.0
2023-06-09 06:18:38 +00:00
Karl Ostmo
68c992aa2d
Isolate work directory for 'stack test' (#995)
Closes #936.

With this change, `stack build` should be invoked as normal, but to run tests one should invoke the new script, which will place compilation artifacts in a separate directory so as to not stomp on the previous `stack build` artifacts.

## Demo

```
stack build
./scripts/run-tests.sh
stack build
```
All perform incremental compilation rather than from-scratch.
2023-01-10 18:34:18 +00:00
Karl Ostmo
13c99bcc08
remove --cabal-default-extensions arg from fourmolu invocation (#889)
Restyled.io uses fourmolu version `0.10.1.0`.  It is not clear how it could be pegged to `0.4.0.0`.  The latest I was able to install on my machine with `cabal install` was `0.9.0.0`.

fixes #888
2022-12-08 03:10:42 +00:00
Karl Ostmo
ef31834a61
Make code reformatting command a script in the repo (#875) 2022-11-22 15:21:28 +00:00
Ondřej Šebek
4122ea5207
Add a note about installing fourmolu (#744)
- note how to install Fourmolu and run it from shell
- refactor the conventions to use subsections for easier readability
- simplify restyled arguments for Fourmolu 0.4
2022-10-12 18:23:05 +00:00
Brent Yorgey
d0dc04a2d7
Documentation edits in preparation for alpha release (#691) 2022-09-17 15:28:13 +00:00
Brent Yorgey
4a600fa788 update URL repo references from byorgey/swarm to swarm-game/swarm 2022-03-14 14:09:47 -05:00
Ondřej Šebek
817925bd5b
Add cabal to HLS configuration (#131)
- allow HLS to use Cabal instead of Stack
  - Cabal works fine, and I do not see any advantage to using Stack
  - someone using Stack should test this does not switch him to Cabal ⚠️  
- ignore `cabal.project.local` so I can put there `ghc-options: -haddock`
  - this flag could lead to errors before GHC 9, but it gives me [docs on hover](https://haskell-language-server.readthedocs.io/en/latest/features.html)
2021-10-03 21:14:04 +00:00
Brent Yorgey
a1bb8e939d Update conventions to note we use fourmolu 2021-10-02 19:18:13 -05:00
Brent Yorgey
9d52e88625 CONTRIBUTING: a note re: being generous towards new contributors 2021-09-30 12:46:16 -05:00
Brent Yorgey
e21da4c974 add a few more conventions 2021-09-29 13:45:46 -05:00
Brent Yorgey
7857bbb391 add a section on conventions to CONTRIBUTING.md 2021-09-29 13:20:30 -05:00
Tristan Cacqueray
50e9558071 Add mergify configuration
This change configures the mergify bot so that:
- PR are validated with the tip of the project before merge
  to prevent incompatible PRs to be merged at once which could
  break the CI.
- PR maintainer uses a consistent smart squash workflow
2021-09-26 19:44:38 +00:00
Brent Yorgey
f62703c5eb another link to IRC channel in CONTRIBUTING 2021-09-25 14:05:22 -05:00
Brent Yorgey
807cc6dd4a a few more tweaks 2021-09-23 08:53:24 -05:00
Brent Yorgey
620bc1181e add a section on game design to CONTRIBUTING.md 2021-09-23 03:08:16 -05:00
Brent Yorgey
8b09e8910a add a CONTRIBUTING file 2021-09-19 22:28:33 -05:00