Kleidukos / get-tested

Go get tested! Github Actions matrix generator for your haskell projects
BSD 3-Clause "New" or "Revised" License
42 stars 2 forks source link

Publish on Hackage #39

Open turion opened 1 week ago

turion commented 1 week ago

It would be great if this package was published on hackage. Then it would be automatically be picked up and packaged in nixpkgs.

Kleidukos commented 1 week ago

Ah, I knew this day would come.

Kleidukos commented 1 week ago

Do you personally need this?

turion commented 1 week ago

It would be useful to have this in order to debug locally. In my case, I mixed up the order of source-repository and tested-with: in my cabal file, and get-tested thus just output an empty list. It would have taken a long time to debug this just by pushing new cabal files to github and see whether it worked now.

Having it published on Hackage would also package it in nixpkgs which means that I can just add the get-tested executable to my tool stack and use it directly. If that's a big nuisance or too high maintenance burden, I can of course work around it by copying the wget stance from github actions, and install it like that. (It would be nice maybe if this installation method was mentioned in the docs somewhere.)

Kleidukos commented 1 week ago

I mixed up the order of source-repository and tested-with:

Ah indeed, that's a cabal parse error that doesn't bubble up properly.

The coming two weeks are going to be hell for me but I'll handle this after. Thanks for bringing this up!