Commit 9ba0509c authored by Oleg Grenrus's avatar Oleg Grenrus
Browse files

Add test for -Wno-missing-safe-haskell-mode in Paths_pkg.hs

parent c31b0178
cabal-version: 2.2
name: PathsModule
version: 0.1
license: BSD-3-Clause
author: Oleg Grenrus
stability: stable
category: PackageTests
build-type: Simple
description:
Check that the generated paths module compiles.
Library
exposed-modules: Paths_PathsModule
build-depends: base
default-language: Haskell2010
if impl(ghc >= 8.10)
ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode -Werror
# Setup configure
Configuring PathsModule-0.1...
# Setup build
Preprocessing library for PathsModule-0.1..
Building library for PathsModule-0.1..
# Setup configure
Configuring PathsModule-0.1...
# Setup build
Preprocessing library for PathsModule-0.1..
Building library for PathsModule-0.1..
import Test.Cabal.Prelude
-- Test that Paths module is generated and available for libraries.
main = setupAndCabalTest $ setup_build []
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment