project renamed to "functorrent"
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Mon, 16 Feb 2015 12:29:19 +0000 (17:59 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Mon, 16 Feb 2015 12:29:19 +0000 (17:59 +0530)
README
deluge.cabal [deleted file]
functorrent.cabal [new file with mode: 0644]
src/Main.hs

diff --git a/README b/README
index 11ad8d74154c16e01d1aaae03ae2dd81a8993e71..d63a0d3be0d38fd4295fcec34d2eef505fe0fc9e 100644 (file)
--- 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 (file)
index 522edfe..0000000
+++ /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 (file)
index 0000000..7f40513
--- /dev/null
@@ -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
index fa465de3d1b5261aceddc03c674f7e4af8515a14..14656d12689135c477c5bf60a8ffef2d0b787172 100644 (file)
@@ -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