rename cabal flag

This commit is contained in:
Evgeny Poberezkin
2022-04-08 08:51:07 +01:00
parent ac7ffc413e
commit 390e99ca95
+2 -2
View File
@@ -27,7 +27,7 @@ extra-source-files:
README.md
CHANGELOG.md
flag swiftJSON
flag swift
Description: Enable swift JSON format
Default: False
Manual: True
@@ -74,7 +74,7 @@ library
src
ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns
if flag(swiftJSON)
if flag(swift)
ghc-options: "-DswiftJSON"
build-depends: