Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Level = String
- type Version = String
- type Subversion = String
- type FileExtension = String
- versionLength :: Int
- commit :: BuildConfig -> Level -> Action (Version, Version)
- incrementVersion :: Version -> Level -> Version
- incrementSubversion :: [Subversion] -> Int -> [Subversion]
- resetSubversion :: [Subversion] -> Int -> Int -> [Subversion]
- updateVersion :: AppInfo -> Version -> AppInfo
- updateFileRegistry :: BuildConfig -> AppInfo -> Action AppInfo
Documentation
type Subversion = String Source
type FileExtension = String Source
commit :: BuildConfig -> Level -> Action (Version, Version) Source
Commit to git and bump version for current project
incrementVersion :: Version -> Level -> Version Source
Bump a version, given a bump type
incrementSubversion :: [Subversion] -> Int -> [Subversion] Source
Given a version component, increment it.
resetSubversion :: [Subversion] -> Int -> Int -> [Subversion] Source
Reset a version component. The reset cascades up to the max subversion index.
updateVersion :: AppInfo -> Version -> AppInfo Source
updateFileRegistry :: BuildConfig -> AppInfo -> Action AppInfo Source
Read from the given directory and update the app manifest object.