Permalink
Browse files

Added repository section to cabal file, moved Tests.lhs to tests/.

  • Loading branch information...
1 parent e822eb3 commit 31d6615f174a501453a38b30cb3339f0bb5d32e5 John MacFarlane committed May 30, 2012
Showing with 17 additions and 13 deletions.
  1. +17 −12 filestore.cabal
  2. +0 −1 { → tests}/Tests.lhs
View
@@ -1,6 +1,6 @@
Name: filestore
Version: 0.5
-Cabal-version: >= 1.2
+Cabal-version: >= 1.8
Build-type: Custom
Synopsis: Interface for versioning file stores.
Description: The filestore library provides an abstract interface for a versioning
@@ -13,15 +13,13 @@ License: BSD3
License-File: LICENSE
Author: John MacFarlane, Gwern Branwen, Sebastiaan Visser
Maintainer: jgm@berkeley.edu
-Homepage: http://johnmacfarlane.net/repos/filestore
+Bug-Reports: https://github.com/jgm/filestore/issues
Data-Files: extra/post-update, CHANGES
-Extra-source-files: Tests.lhs
--- Commented out until Cabal 1.6 becomes common.
--- Source-repository head
--- Type: darcs
--- Location: http://johnmacfarlane.net/repos/filestore
+Source-repository head
+ type: git
+ location: git://github.com/jgm/filestore.git
Flag tests
default: False
@@ -67,10 +65,17 @@ Library
Executable test-filestore
if flag(tests)
- Buildable: True
+ Buildable: True
else
- Buildable: False
- Main-is: Tests.lhs
- Build-depends: base >= 4 && < 5, HUnit >= 1.2 && < 1.3, mtl,
- time, Diff
+ Buildable: False
+ Hs-source-dirs: tests
+ Main-is: Tests.lhs
+ Build-depends: base >= 4 && < 5,
+ HUnit >= 1.2 && < 1.3,
+ mtl,
+ time,
+ Diff,
+ filepath >= 1.1 && < 1.4,
+ directory >= 1.1 && < 1.2,
+ filestore
@@ -12,7 +12,6 @@ This program runs tests for the filestore modules.
> import Data.Time
> import Data.Maybe (mapMaybe)
> import System.FilePath
-> import System.Process
> import Data.Algorithm.Diff (DI(..))
> main = do

0 comments on commit 31d6615

Please sign in to comment.