Skip to content
Snippets Groups Projects
Commit 5762b13d authored by Mel Zuser's avatar Mel Zuser
Browse files

test for list-bin selecting a specific component

parent 72059036
No related branches found
No related tags found
No related merge requests found
cabal-version: 2.2
name: SelectedComponent
version: 1.0.0
executable testexe
executable setup
custom-setup
# cabal list-bin
Resolving dependencies...
Build profile: -w ghc-<GHCVER> -O1
In order, the following will be built:
- SelectedComponent-1.0.0 (exe:testexe) (first run)
packages: .
import Test.Cabal.Prelude
-- https://github.com/haskell/cabal/issues/7679
main = cabalTest . void $ do
res <- cabal' "list-bin" ["exe:testexe"]
assertOutputContains "SelectedComponent-1.0.0" res
assertOutputContains "testexe" res
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment