packcheck v0.5.1 Release Notes

Release Date: 2020-06-03 // over 1 year ago
  • ๐Ÿ› Bug Fixes

    • Fix breakage due to DISABLE_SDIST_GIT_CHECK option. Due to this bug, build was always failing by default and reported as success.

    ๐Ÿ—„ Deprecations

    • ๐Ÿ‘• HLINT_COMMANDS is deprecated and replaced by HLINT_OPTIONS/HLINT_TARGETS

    โœจ Enhancements

    • ๐Ÿ‘• New HLINT_OPTIONS/HLINT_TARGETS env vars to specify hlint commands in a better way.

Previous changes from v0.5.0

  • ๐Ÿ› Bug Fixes

    • ๐Ÿ“ฆ packcheck.sh script itself was missing from the package, added.

    ๐Ÿ’ฅ Breaking Changes

    • CI now fails if DISABLE_SDIST_BUILD is not set and the contents of the source distribution tar ball do not match the git repository contents. Either add any exceptions to .packcheck.ignore file or use DISABLE_SDIST_GIT_CHECK=y to disable this feature. Currently this check is done only if git and tar commands are available in the PATH.

    ๐Ÿ—„ Deprecations

    • ๐Ÿšš cabal-v1 command now shows a deprecation message and is removed from help. This command will be removed in future.
    • ENABLE_INSTALL option now does nothing. This change is because of the new behavior in cabal-3. This option will be removed in future.

    โœจ Enhancements

    • โž• Added a feature to detect if any files in the git repo are missing from the source distribution tarball.
    • โž• Add CABAL_PROJECT environment variable to support specifying a cabal project file.