You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The `stack.yaml` was quite stale. It also was not obviously very
useful in the context of a GHC boot package. Remove it, as well as the
instructions for building and testing with `stack`.
* Expand the information on testing/benchmarking with `cabal`.
Closes#938
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+14-27Lines changed: 14 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,16 @@ All such changes should be discussed on the [email protected] mailing list.
9
9
10
10
## Building, testing, and benchmarking
11
11
12
-
Building, testing, and benchmarking the containers package can be done using either `cabal` or `stack`.
12
+
Building, testing, and benchmarking the containers package is done using `cabal`.
13
13
14
-
To avoid recompiling the tests' other dependencies when making changes, you can remove `containers` from the `packages` stanza of the `cabal.project` file.
14
+
To avoid recompiling the tests' other dependencies when making changes, you can
15
+
remove `containers` from the `packages` stanza of the `cabal.project` file.
16
+
Note: this will not work in the unlikely event that you are fixing a bug that
17
+
affects the test or benchmark framework itself. The `Data.Set` (for example)
18
+
used in the tests and benchmarks is compiled separately from the one exposed by
19
+
the `containers` package.
15
20
16
-
### With cabal
21
+
### Procedure
17
22
18
23
Minimum cabal version: 2.4
19
24
@@ -23,25 +28,6 @@ cabal test containers-test
23
28
cabal bench containers-test
24
29
```
25
30
26
-
27
-
### With [Stack](https://docs.haskellstack.org/en/stable/README/)
28
-
29
-
Minimum stack version: 1.6.1
30
-
31
-
```
32
-
stack build
33
-
stack test
34
-
stack bench
35
-
```
36
-
37
-
38
-
## Troubleshooting
39
-
40
-
- If you're using Stack, make sure you have version >= 1.6.1
0 commit comments