Use version from generated cabal Paths module

This commit is contained in:
Rodrigo Setti
2014-05-30 00:08:09 +00:00
parent d830a36bc8
commit 3fcc6c44d8
2 changed files with 7 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
module ShellCheck.Data where
shellcheckVersion = "0.3.2" -- Must also be updated in ShellCheck.cabal
import Data.Version (showVersion)
import Paths_ShellCheck (version)
shellcheckVersion = showVersion version
internalVariables = [
-- Generic