summaryrefslogtreecommitdiff
path: root/git-annex.cabal
blob: 1416a381dde2970f847cdac6ad164ebd388a5d00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Name: git-annex
Version: 3.20120616
Cabal-Version: >= 1.8
License: GPL
Maintainer: Joey Hess <joey@kitenet.net>
Author: Joey Hess
Stability: Stable
Copyright: 2010-2012 Joey Hess
License-File: GPL
Homepage: http://git-annex.branchable.com/
Build-type: Custom
Category: Utility
Synopsis: manage files with git, without checking their contents into git
Description:
 git-annex allows managing files with git, without checking the file
 contents into git. While that may seem paradoxical, it is useful when
 dealing with files larger than git can currently easily handle, whether due
 to limitations in memory, time, or disk space.
 .
 Even without file content tracking, being able to manage files with git,
 move files around and delete files with versioned directory trees, and use
 branches and distributed clones, are all very handy reasons to use git. And
 annexed files can co-exist in the same git repository with regularly
 versioned files, which is convenient for maintaining documents, Makefiles,
 etc that are associated with annexed files but that benefit from full
 revision control.

Flag S3
  Description: Enable S3 support

Flag Inotify
  Description: Enable inotify support

Executable git-annex
  Main-Is: git-annex.hs
  Build-Depends: MissingH, hslogger, directory, filepath,
   unix, containers, utf8-string, network, mtl, bytestring, old-locale, time,
   pcre-light, extensible-exceptions, dataenc, SHA, process, json, HTTP,
   base == 4.5.*, monad-control, transformers-base, lifted-base,
   IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance, stm
  -- Need to list this because it's generated from a .hsc file.
  Other-Modules: Utility.Touch
  C-Sources: Utility/libdiskfree.c
  Extensions: CPP

  if flag(S3)
    Build-Depends: hS3
    CPP-Options: -DWITH_S3

  if flag(Inotify)
    Build-Depends: hinotify
    CPP-Options: -DWITH_INOTIFY

Test-Suite test
  Type: exitcode-stdio-1.0
  Main-Is: test.hs
  Build-Depends: testpack, HUnit, MissingH, hslogger, directory, filepath,
   unix, containers, utf8-string, network, mtl, bytestring, old-locale, time,
   pcre-light, extensible-exceptions, dataenc, SHA, process, json, HTTP,
   base == 4.5.*, monad-control, transformers-base, lifted-base,
   IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance, stm
  Other-Modules: Utility.Touch
  C-Sources: Utility/libdiskfree.c
  Extensions: CPP

source-repository head
  type: git
  location: git://git-annex.branchable.com/