-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option --cabal
to read configuration from a .cabal
file?
#7
Comments
Would passing How complex is that functionality to port/maintain? |
I haven't thought so far, but
The core of that functionality seems rather small (the |
Let's say that using PRs are welcome 🙂 |
I think one would still want to have the possibility to exclude files/directories from the tags generation, so completely replacing the |
Context: We are considering switching from
hs-tags
toghc-tags
, just because maintaininghs-tags
is a bit burdensome (uses the GHC API, thus, breaks with each new GHC version):ghc-tags
, retirehs-tags
? agda/agda#2932hs-tags
has option--cabal
to read configuration from thelibrary
section of a.cabal
file.I see that
ghc-tags
requires information such asdefault-languages
anddefault-extensions
to be duplicated in theghc-tags.yaml
configuration file. This is a bit error-prone and contradicts the DRY principle.Maybe the
--cabal
option functionality could be ported fromhs-tags
toghc-tags
.The text was updated successfully, but these errors were encountered: