Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions hash-addressed-cli/hash-addressed-cli.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ common base
LambdaCase
NamedFieldPuns
NoImplicitPrelude
other-modules:
Paths_hash_addressed_cli
build-depends:
, base ^>= 4.16 || ^>= 4.17
, bytestring ^>= 0.11.3
Expand Down
9 changes: 7 additions & 2 deletions hash-addressed-cli/library/HashAddressed/App/Version.hs
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE TemplateHaskell #-}

module HashAddressed.App.Version
(
version,
HashAddressed.App.Version.version
)
where

import Data.Version (showVersion)
import Paths_hash_addressed_cli as P (version)
import Prelude (String)

version :: String
version = "2"
version = showVersion P.version