Skip to content

Provides means of querying information about build WAS Offer command to find base directory for package #1087

@bitonic

Description

@bitonic

This command, say package-path, would return the base directory (where the .cabal file lives) for a certain package, e.g.

$ cat stack.yaml
packages:
  - ./foo # Contains foo.cabal, package name foo
  - ./bar # Contains bar.cabal, package name bar
resolver: lts-3
$ stack package-path foo
./foo

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions