Skip to content

Commit 5bf453c

Browse files
committed
Add comments on the build/install instructions
1 parent ce4d10a commit 5bf453c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@ sudo apt install libgtk2.0-dev
3838
Then you can build threadscope using cabal:
3939

4040
```sh
41-
cabal v2-build
41+
cabal v2-build # to only build the project, or
42+
cabal v2-install # to build and install the binary
4243
```
4344

4445
Or using stack:
4546

4647
```sh
47-
stack install
48+
stack build # to only build the project, or
49+
stack install # to build and install the binary
4850
```
4951

5052
### OS X
@@ -58,13 +60,15 @@ brew install gtk+ gcc@9
5860
Then you can build threadscope using cabal:
5961

6062
```sh
61-
cabal v2-build --project-file=cabal.project.osx
63+
cabal --project-file=cabal.project.osx v2-build # to only build the project, or
64+
cabal --project-file=cabal.project.osx v2-install # to build and install the binary
6265
```
6366

6467
Or using stack:
6568

6669
```sh
67-
stack --stack-yaml=stack.osx.yaml install
70+
stack --stack-yaml=stack.osx.yaml build # to only build the project, or
71+
stack --stack-yaml=stack.osx.yaml install # to install the binary
6872
```
6973

7074
### Windows

0 commit comments

Comments
 (0)