diff options
author | Sam T <pxqr.sta@gmail.com> | 2013-06-07 19:48:16 +0400 |
---|---|---|
committer | Sam T <pxqr.sta@gmail.com> | 2013-06-07 19:48:16 +0400 |
commit | 2940d8497947ebf18a70343b4a787a5e28c85754 (patch) | |
tree | 0ecd6588bfece6389e7b35a42c1244a4ce18ab67 | |
parent | 13819af69d4a99f97eaf8ae439baeb6de37a1f5f (diff) |
~ Move binary files in the res folder.
-rw-r--r-- | .gitattributes | 1 | ||||
-rw-r--r-- | bittorrent.cabal | 6 | ||||
-rw-r--r-- | res/dapper-dvd-amd64.iso.torrent (renamed from tests/dapper-dvd-amd64.iso.torrent) | bin | 64198 -> 64198 bytes | |||
-rw-r--r-- | tests/info-hash.hs | 2 |
4 files changed, 7 insertions, 2 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..a8a88417 --- /dev/null +++ b/.gitattributes | |||
@@ -0,0 +1 @@ | |||
res/* binary | |||
diff --git a/bittorrent.cabal b/bittorrent.cabal index e0f6df5a..223584fc 100644 --- a/bittorrent.cabal +++ b/bittorrent.cabal | |||
@@ -5,9 +5,10 @@ license-file: LICENSE | |||
5 | author: Sam T. | 5 | author: Sam T. |
6 | maintainer: Sam T. <pxqr.sta@gmail.com> | 6 | maintainer: Sam T. <pxqr.sta@gmail.com> |
7 | copyright: (c) 2013, Sam T. | 7 | copyright: (c) 2013, Sam T. |
8 | category: Network, Data | 8 | category: Network |
9 | build-type: Simple | 9 | build-type: Simple |
10 | cabal-version: >= 1.8 | 10 | cabal-version: >= 1.8 |
11 | tested-with: GHC==7.4.1 | ||
11 | homepage: https://github.com/pxqr/bittorrent | 12 | homepage: https://github.com/pxqr/bittorrent |
12 | bug-reports: https://github.com/pxqr/bittorrent/issues | 13 | bug-reports: https://github.com/pxqr/bittorrent/issues |
13 | synopsis: Bittorrent protocol implementation. | 14 | synopsis: Bittorrent protocol implementation. |
@@ -19,6 +20,9 @@ description: | |||
19 | <https://github.com/pxqr/bittorrent/blob/master/README.md> | 20 | <https://github.com/pxqr/bittorrent/blob/master/README.md> |
20 | 21 | ||
21 | 22 | ||
23 | extra-source-files: res/dapper-dvd-amd64.iso.torrent | ||
24 | -- not a source file, but we need to keep it in tarball for tests | ||
25 | |||
22 | 26 | ||
23 | source-repository head | 27 | source-repository head |
24 | type: git | 28 | type: git |
diff --git a/tests/dapper-dvd-amd64.iso.torrent b/res/dapper-dvd-amd64.iso.torrent index 5713344b..5713344b 100644 --- a/tests/dapper-dvd-amd64.iso.torrent +++ b/res/dapper-dvd-amd64.iso.torrent | |||
Binary files differ | |||
diff --git a/tests/info-hash.hs b/tests/info-hash.hs index ced90451..dbbcbf53 100644 --- a/tests/info-hash.hs +++ b/tests/info-hash.hs | |||
@@ -12,7 +12,7 @@ checkInfo :: String | |||
12 | checkInfo = "0221caf96aa3cb94f0f58d458e78b0fc344ad8bf" | 12 | checkInfo = "0221caf96aa3cb94f0f58d458e78b0fc344ad8bf" |
13 | 13 | ||
14 | torrentFileName :: String | 14 | torrentFileName :: String |
15 | torrentFileName = "tests/dapper-dvd-amd64.iso.torrent" | 15 | torrentFileName = "res/dapper-dvd-amd64.iso.torrent" |
16 | 16 | ||
17 | main :: IO () | 17 | main :: IO () |
18 | main = do | 18 | main = do |