tintin 1.9.1 → 1.9.2
raw patch · 2 files changed
+9/−4 lines, 2 files
Files
- src/Tintin/ConfigurationLoading.hs +7/−2
- tintin.cabal +2/−2
src/Tintin/ConfigurationLoading.hs view
@@ -55,8 +55,7 @@ when (isNothing projectName) (Errors.showAndDie ["Project must have a name. Please set it in package.yaml or *.cabal."]) when (isNothing projectSynopsis) (Errors.showAndDie ["Project must have a synopsis. Please set it in package.yaml or *.cabal."]) when (isNothing tintinColor)- (Errors.showAndDie ["Tintin usually generates a .tintin.yml file with a color configuration. Maybe you don't have enough permissions?\- \\n\nTry creating .tintin.yml and adding color:blue to it."])+ (Errors.showAndDie [errorMessages]) return Project.Info { name = Unsafe.fromJust projectName , synopsis = Unsafe.fromJust projectSynopsis@@ -68,6 +67,12 @@ } where+ errorMessages = unlines+ ["Tintin usually generates a .tintin.yml file with a color configuration. Maybe you don't have enough permissions?"+ , ""+ , ""+ , "Try creating .tintin.yml and adding color:blue to it."+ ] isPackageYaml (Filesystem.Path p) = p == "package.yaml"
tintin.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 0946a08615a295ffb94e658eff82aa6ddcb5eda88b5525f349babfda0b6686ae+-- hash: 5517df5b094afe47cf8393d03dedd95b52e927d22235f721ecad19a3f8f7abdd name: tintin-version: 1.9.1+version: 1.9.2 synopsis: A softer alternative to Haddock description: Please see the website <https://theam.github.io/tintin> category: Documentation