Skip to content

Commit

Permalink
Add Cabal to the system.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlouis committed Dec 21, 2009
1 parent 326e421 commit 3ede94d
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.hi
*.o
Main
/dist
/gen-doc
/doc/processes.pdf
/doc/timer.pdf
Expand Down
3 changes: 3 additions & 0 deletions Setup.lhs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env runhaskell
> import Distribution.Simple
> main = defaultMain
31 changes: 31 additions & 0 deletions haskelltorrent.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: HaskellTorrent
version: 0.0
cabal-version: >= 1.2

license: BSD3
license-file: LICENSE
copyright: (c) 2009 Jesper Louis Andersen
author: Jesper Louis Andersen
maintainer: [email protected]
stability: experimental
synopsis: A Haskell Bittorrent client
build-type: Simple

executable HaskellTorrent
hs-source-dirs: src
main-is: Main.hs
build-depends:
base,
pretty,
parsec,
containers,
bytestring,
SHA,
random,
network,
HCodecs,
cml,
HTTP,
time


2 changes: 2 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
all:
cd .. && $(MAKE)

0 comments on commit 3ede94d

Please sign in to comment.