move non-portable file warning to package
This commit is contained in:
parent
4e0959dc60
commit
28a8b55f4e
@ -2,7 +2,7 @@
|
|||||||
--
|
--
|
||||||
-- see: https://github.com/sol/hpack
|
-- see: https://github.com/sol/hpack
|
||||||
--
|
--
|
||||||
-- hash: f8f9cb9d2b75d91e5ec746b32d1b0bb664b7914e1e578ae8a63e3ca0b39bbdfd
|
-- hash: 55fabc3fc9d798a398158f5c654864f700cf79ce83c0ae8fc2af05f2b545a9dd
|
||||||
|
|
||||||
name: hledger
|
name: hledger
|
||||||
version: 1.5.99
|
version: 1.5.99
|
||||||
@ -77,7 +77,7 @@ flag threaded
|
|||||||
default: True
|
default: True
|
||||||
|
|
||||||
library
|
library
|
||||||
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
|
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans -optP-Wno-nonportable-include-path
|
||||||
cpp-options: -DVERSION="1.5.99"
|
cpp-options: -DVERSION="1.5.99"
|
||||||
build-depends:
|
build-depends:
|
||||||
Decimal
|
Decimal
|
||||||
@ -160,7 +160,7 @@ executable hledger
|
|||||||
main-is: hledger-cli.hs
|
main-is: hledger-cli.hs
|
||||||
hs-source-dirs:
|
hs-source-dirs:
|
||||||
app
|
app
|
||||||
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
|
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans -optP-Wno-nonportable-include-path
|
||||||
cpp-options: -DVERSION="1.5.99"
|
cpp-options: -DVERSION="1.5.99"
|
||||||
build-depends:
|
build-depends:
|
||||||
Decimal
|
Decimal
|
||||||
@ -212,7 +212,7 @@ test-suite test
|
|||||||
main-is: test.hs
|
main-is: test.hs
|
||||||
hs-source-dirs:
|
hs-source-dirs:
|
||||||
test
|
test
|
||||||
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
|
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans -optP-Wno-nonportable-include-path
|
||||||
cpp-options: -DVERSION="1.5.99"
|
cpp-options: -DVERSION="1.5.99"
|
||||||
build-depends:
|
build-depends:
|
||||||
Decimal
|
Decimal
|
||||||
@ -264,7 +264,7 @@ benchmark bench
|
|||||||
main-is: bench.hs
|
main-is: bench.hs
|
||||||
hs-source-dirs:
|
hs-source-dirs:
|
||||||
bench
|
bench
|
||||||
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
|
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans -optP-Wno-nonportable-include-path
|
||||||
build-depends:
|
build-depends:
|
||||||
ansi-terminal >=0.6.2.3
|
ansi-terminal >=0.6.2.3
|
||||||
, base >=4.8 && <4.12
|
, base >=4.8 && <4.12
|
||||||
|
|||||||
@ -74,6 +74,8 @@ ghc-options:
|
|||||||
- -fno-warn-missing-signatures
|
- -fno-warn-missing-signatures
|
||||||
- -fno-warn-type-defaults
|
- -fno-warn-type-defaults
|
||||||
- -fno-warn-orphans
|
- -fno-warn-orphans
|
||||||
|
# avoid "non-portable path" warning on mac, https://github.com/commercialhaskell/stack/issues/3918
|
||||||
|
- -optP-Wno-nonportable-include-path
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- base >=4.8 && <4.12
|
- base >=4.8 && <4.12
|
||||||
|
|||||||
@ -9,10 +9,6 @@ packages:
|
|||||||
- hledger-web
|
- hledger-web
|
||||||
- hledger-api
|
- hledger-api
|
||||||
|
|
||||||
# avoid "non-portable path" warning on mac, https://github.com/commercialhaskell/stack/issues/3918
|
|
||||||
ghc-options:
|
|
||||||
hledger: -optP-Wno-nonportable-include-path
|
|
||||||
|
|
||||||
extra-deps:
|
extra-deps:
|
||||||
# hledger-lib
|
# hledger-lib
|
||||||
- easytest-0.1.1
|
- easytest-0.1.1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user