https://github.com/aherrmann/bazel-nix-hspec-discover
https://github.com/aherrmann/bazel-nix-hspec-discover
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aherrmann/bazel-nix-hspec-discover
- Owner: aherrmann
- Created: 2021-08-17T10:28:46.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-17T10:28:54.000Z (almost 5 years ago)
- Last Synced: 2025-10-17T22:35:16.753Z (8 months ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bazel-nix-hspec-discover
The goal is to have both the following commands working with the same `Spec.hs`
```sh
bazel test :test
```
which currently works with
```hs
{-# LANGUAGE CPP #-}
{-# OPTIONS_GHC -F -pgmF HSPEC_DISCOVER #-}
```
and
```sh
bazel run :repl
```
which currently works with
```hs
{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
```