Skip to content

Commit 5bd0197

Browse files
committed
Update cabal build instructions using project
1 parent 0b3266d commit 5bd0197

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,24 +66,20 @@ builder using either nix or cabal. Directions for both are given below:
6666
### Manually Building the Site With Cabal
6767

6868
If you don't have nix installed, or if you are inside of the project's nix
69-
shell, you will want to use cabal to compile the builder. To do so, enter the
70-
`builder` directory and compile the program with:
69+
shell, you will want to use cabal to compile the builder, the only package in
70+
the project.
7171

7272
```shell
73-
cabal v2-build
73+
$ cabal build all
7474
```
7575

76-
Once compiled, the builder must be run from the project root directory so that
77-
it can find all of the content. To run the builder, you need to first find the
78-
name of the executable. From the builder directory, you can find the executable
79-
path by running:
76+
Once compiled, execute the builder from the project root directory so that it
77+
can find all of the content.
8078

8179
```
82-
cabal v2-exec -- which haskell-org-site
80+
$ cabal exec haskell-org-site build
8381
```
8482

85-
Using that path, you can run the builder from the project root directory.
86-
8783
### Manually Building the Site With Nix
8884

8985
If you have nix installed, you can have nix build the builder by running:

0 commit comments

Comments
 (0)