[commit: packages/filepath] master: Use consistent lexical conventions in the .cabal file (542aca4)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:33:05 UTC 2015


Repository : ssh://git@git.haskell.org/filepath

On branch  : master
Link       : http://git.haskell.org/packages/filepath.git/commitdiff/542aca40ab1ab1e442c21cc95a2be23dea08646b

>---------------------------------------------------------------

commit 542aca40ab1ab1e442c21cc95a2be23dea08646b
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Sun Oct 19 12:50:30 2014 +0100

    Use consistent lexical conventions in the .cabal file


>---------------------------------------------------------------

542aca40ab1ab1e442c21cc95a2be23dea08646b
 filepath.cabal | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/filepath.cabal b/filepath.cabal
index 37f1de0..949c081 100644
--- a/filepath.cabal
+++ b/filepath.cabal
@@ -1,15 +1,15 @@
-Name:           filepath
-Version:        1.3.0.3
+name:           filepath
+version:        1.3.0.3
 -- NOTE: Don't forget to update ./changelog.md
-License:        BSD3
+license:        BSD3
 license-file:   LICENSE
-Author:         Neil Mitchell
-Maintainer:     libraries at haskell.org
+author:         Neil Mitchell
+maintainer:     libraries at haskell.org
 bug-reports:    https://github.com/haskell/filepath/issues
-Homepage:       http://www-users.cs.york.ac.uk/~ndm/filepath/
-Category:       System
+homepage:       http://www-users.cs.york.ac.uk/~ndm/filepath/
+category:       System
 build-type:     Simple
-Synopsis:       Library for manipulating FilePaths in a cross platform way.
+synopsis:       Library for manipulating FilePaths in a cross platform way.
 cabal-version:  >=1.10
 tested-with:    GHC==7.6.3, GHC==7.6.2, GHC==7.6.1, GHC==7.4.2, GHC==7.4.1, GHC==7.2.2, GHC==7.2.1, GHC==7.0.4, GHC==7.0.3, GHC==7.0.2, GHC==7.0.1, GHC==6.12.3
 description:
@@ -20,24 +20,24 @@ description:
     the same interface. See either for examples and a list of the
     available functions.
 
-Extra-Source-Files:
+extra-source-files:
     System/FilePath/Internal.hs
     README.md
     changelog.md
 
-Library
+library
     default-language: Haskell98
     other-extensions:
         CPP
-    if impl(GHC>=7.2)
+    if impl(GHC >= 7.2)
         other-extensions: Safe
 
-    Exposed-modules:
+    exposed-modules:
         System.FilePath
         System.FilePath.Posix
         System.FilePath.Windows
 
-    Build-Depends:
+    build-depends:
         base >= 4 && < 4.9
 
     ghc-options: -Wall
@@ -46,7 +46,7 @@ Library
 -- generate the tests/FilePath_Tests.hs file via
 --
 --  cd tests/ && runghc ./GenTests.hs
-Test-Suite filepath-tests
+test-suite filepath-tests
     type: exitcode-stdio-1.0
     default-language: Haskell98
     main-is: FilePath_Test.hs



More information about the ghc-commits mailing list