{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
module Headroom.Meta
( TemplateType
, buildVersion
, productDesc
, productInfo
, productName
, website
)
where
import Data.Version ( showVersion )
import Headroom.Template.Mustache ( Mustache )
import Paths_headroom ( version )
import RIO
import qualified RIO.Text as T
type TemplateType = Mustache
buildVersion :: Text
buildVersion = T.pack . showVersion $ version
productDesc :: Text
productDesc = "manage your source code license headers"
productInfo :: Text
productInfo = mconcat [productName, ", v", buildVersion, " :: ", website]
productName :: Text
productName = "headroom"
website :: Text
website = "https://github.com/vaclavsvejcar/headroom"