How do I generate the appropriate package file?
The hackage upload page has a link to: https://www.haskell.org/cabal/users-guide/installing-packages.html#setup-sdist but after reading that I'm still unsure.
I've tried:
cabal setup sdist
cabal: unrecognised command: setup (try --help)
As well as:
setup sdist
zsh: command not found: setup
To generate the package:
With cabal: cabal sdist
With stack: stack sdist
Thanks to @ppb