From: Ramakrishnan Muthukrishnan Date: Mon, 16 Feb 2015 12:29:19 +0000 (+0530) Subject: project renamed to "functorrent" X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/biz?a=commitdiff_plain;h=1118631884716cd367f5556c24fda5dfa0a1e1b4;p=functorrent.git project renamed to "functorrent" --- diff --git a/README b/README index 11ad8d7..d63a0d3 100644 --- a/README +++ b/README @@ -1,24 +1,4 @@ -From WordNet (r) 3.0 (2006) [wn]: - - deluge - n 1: an overwhelming number or amount; "a flood of requests"; "a - torrent of abuse" [syn: {flood}, {inundation}, {deluge}, - {torrent}] - 2: a heavy rain [syn: {downpour}, {cloudburst}, {deluge}, - {waterspout}, {torrent}, {pelter}, {soaker}] - 3: the rising of a body of water and its overflowing onto - normally dry land; "plains fertilized by annual inundations" - [syn: {flood}, {inundation}, {deluge}, {alluvion}] - v 1: fill quickly beyond capacity; as with a liquid; "the - basement was inundated after the storm"; "The images - flooded his mind" [syn: {deluge}, {flood}, {inundate}, - {swamp}] - 2: charge someone with too many tasks [syn: {overwhelm}, - {deluge}, {flood out}] - 3: fill or cover completely, usually with water [syn: - {inundate}, {deluge}, {submerge}] - -`deluge' is a bittorrent client. +`functorrent' is a bittorrent client. building -------- @@ -29,7 +9,7 @@ Steps: 1. cabal sandbox init 2. cabal install --only-dependencies -3. cabal build # binaries in ./dist/built/deluge/* +3. cabal build # binaries in ./dist/built/functorrent/* Goals ----- diff --git a/deluge.cabal b/deluge.cabal deleted file mode 100644 index 522edfe..0000000 --- a/deluge.cabal +++ /dev/null @@ -1,33 +0,0 @@ --- Initial deluge.cabal generated by cabal init. For further --- documentation, see http://haskell.org/cabal/users-guide/ - -name: deluge -version: 0.1.0.0 -synopsis: A Bit-torrent client -description: A bittorrent client -license: GPL-3 -license-file: LICENSE -author: Ramakrishnan Muthukrishnan -maintainer: ram@rkrishnan.org --- copyright: -category: Network -build-type: Simple --- extra-source-files: -cabal-version: >=1.10 - -executable deluge - main-is: Main.hs - -- other-modules: - -- other-extensions: - build-depends: base >=4.6 && <4.8, - parsec ==3.1.*, - containers ==0.5.*, - time ==1.4.2, - bytestring, - base16-bytestring, - doctest, - HTTP >=4000.2.1, - cryptohash - hs-source-dirs: src - ghc-options: -Wall -fwarn-incomplete-patterns - default-language: Haskell2010 \ No newline at end of file diff --git a/functorrent.cabal b/functorrent.cabal new file mode 100644 index 0000000..7f40513 --- /dev/null +++ b/functorrent.cabal @@ -0,0 +1,33 @@ +-- Initial functorrent.cabal generated by cabal init. For further +-- documentation, see http://haskell.org/cabal/users-guide/ + +name: functorrent +version: 0.1.0.0 +synopsis: A Bit-torrent client +description: A bittorrent client +license: GPL-3 +license-file: LICENSE +author: Ramakrishnan Muthukrishnan +maintainer: ram@rkrishnan.org +-- copyright: +category: Network +build-type: Simple +-- extra-source-files: +cabal-version: >=1.10 + +executable functorrent + main-is: Main.hs + -- other-modules: + -- other-extensions: + build-depends: base >=4.6 && <4.8, + parsec ==3.1.*, + containers ==0.5.*, + time ==1.4.2, + bytestring, + base16-bytestring, + doctest, + HTTP >=4000.2.1, + cryptohash + hs-source-dirs: src + ghc-options: -Wall -fwarn-incomplete-patterns + default-language: Haskell2010 \ No newline at end of file diff --git a/src/Main.hs b/src/Main.hs index fa465de..14656d1 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -20,7 +20,7 @@ exit :: IO BC.ByteString exit = exitWith ExitSuccess usage :: IO () -usage = putStrLn "usage: deluge torrent-file" +usage = putStrLn "usage: functorrent torrent-file" parse :: [String] -> IO (BC.ByteString) parse [] = usage >> exit