-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I hit this problem when trying to use the getPackageExtentions
function pointing to a cabal file that is not my current directory, but I can also exhibit it using the CLI:
…/ext-stats $ extensions --cabal-file-path hackage/3dmodels-0.3.0/*.cabal
ⓘ Extensions for each module combined with 'default-extensions'
…/ext-stats $ cd hackage/3dmodels-0.3.0
…/hackage/3dmodels-0.3.0 $ extensions --cabal-file-path *.cabal
ⓘ Extensions for each module combined with 'default-extensions'
Graphics/Model/DirectX.hs
OverloadedStrings
RecordWildCards
Graphics/Model/MikuMikuDance.hs
Graphics/Model/MikuMikuDance/Loader.hs
OverloadedStrings
Graphics/Model/MikuMikuDance/Types.hs
Graphics/Model/Obj.hs
OverloadedStrings
TupleSections
I would expect it to find the source code relative to the given cabal file.
Also, as a feature request, it might be nice if I can just pass a path to a directory, and it will use the (existing) logic to find the .cabal
file therein.
Metadata
Metadata
Assignees
Labels
No labels