40 lines
448 B
Markdown
40 lines
448 B
Markdown
# utoy
|
|
|
|
## Building the executable
|
|
|
|
```
|
|
$ nix build
|
|
```
|
|
|
|
## Running
|
|
|
|
```
|
|
$ nix run
|
|
```
|
|
|
|
## Building the Docker image
|
|
|
|
```
|
|
$ docker load < $(nix build .#docker --print-out-paths)
|
|
```
|
|
|
|
## Development Shell
|
|
|
|
Includes Stack, GHC, `haskell-language-server`, `gen-hie` etc.
|
|
|
|
```
|
|
$ nix develop
|
|
```
|
|
|
|
## Running Stack and GHC
|
|
|
|
```
|
|
$ nix run .#stack
|
|
$ nix run .#ghc
|
|
```
|
|
|
|
## TODO
|
|
|
|
- [x] Benchmark, profile and optimize search
|
|
- [ ] Trim down the docker image
|