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
To splash some color to draw eyes into the boring readme.
Myself removed it before and now introduce again, seems that highlighting algs
become somewhat tolerable.
@@ -132,7 +132,7 @@ Note that this going to run quite slowly, but would give the most information as
132
132
133
133
134
134
#### Run HNix
135
-
```
135
+
```shell
136
136
cabal v2-run hnix -- --help
137
137
```
138
138
(`--` is for separation between `cabal` & `hnix` args)
@@ -143,7 +143,7 @@ cabal v2-run hnix -- --help
143
143
There is a number of build options to use with `nix-build`, documentation of them is in: `./default.nix`, keys essentially pass-through the [Nixpkgs Haskell Lib API](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/lib.nix).
144
144
145
145
Options can be used as:
146
-
```
146
+
```shell
147
147
nix-build \
148
148
--arg <option1><argument1> \
149
149
--arg <option2><argument2> \
@@ -152,7 +152,7 @@ nix-build \
152
152
153
153
#### Run benchmarks
154
154
155
-
```
155
+
```shell
156
156
nix-build \
157
157
--arg disableOptimization false \
158
158
--arg enableDeadCodeElimination true \
@@ -162,7 +162,7 @@ nix-build \
162
162
163
163
#### With profiling
164
164
165
-
```
165
+
```shell
166
166
nix-build \
167
167
--arg disableOptimization false \
168
168
--arg enableDeadCodeElimination true \
@@ -172,7 +172,7 @@ nix-build \
172
172
173
173
#### With full debug info
174
174
175
-
```
175
+
```shell
176
176
nix-build \
177
177
--arg disableOptimization false \
178
178
--arg enableDeadCodeElimination true \
@@ -186,13 +186,13 @@ nix-build \
186
186
187
187
#### Run the result
188
188
189
-
```
189
+
```shell
190
190
./result/bin/hnix
191
191
```
192
192
193
193
## Development status loop with amazing [`ghcid`](https://github.com/ndmitchell/ghcid)
0 commit comments