zampolit 0.2 → 0.3
raw patch · 3 files changed
+32/−13 lines, 3 files
Files
- README +24/−0
- Zampolit.hs +1/−0
- zampolit.cabal +7/−13
+ README view
@@ -0,0 +1,24 @@+## Zampolit+## Copyright (c) 2011 Brian Sniffen++To run [`Zampolit`](http://hackage.haskell.org/package/zampolit) and+collect the data for these pretty graphs, you need a few things:++* The version control system `git`, with its svn extensions. +* Gnuplot.+* Haskell.++Athena and all modern operating systems have the first two, either+installed by default or in a locker or easily installed package.+But Haskell's more of a pain. You can [download+it](http://hackage.haskell.org/platform/), then run:++ cabal update+ cabal install zampolit+ git svn clone PATH/TO/YOUR/GAME # replace this+ cd YOUR/GAME+ zampolit++It will churn for a while through the entire history of your game,+then deposit `GAME-wc.data` and `GAME-wc.gnuplot`. If you have Gnuplot+installed, it will even run gnuplot for you to produce `GAME-wc.pdf`.
Zampolit.hs view
@@ -115,6 +115,7 @@ let cmd = Cmd { outfile = def &= argPos 1 &= opt (dir ++ "-wc") &= typFile , gameName = def &= argPos 0 &= opt dir &= typ "NAME"} &= program "zampolit"+ &= summary "zampolit v0.3, (c) Brian Snffen 2011" c <- cmdArgs cmd let title = gameName c output = outfile c
zampolit.cabal view
@@ -1,5 +1,5 @@ Name: zampolit-Version: 0.2+Version: 0.3 Synopsis: A tool for checking how much work is done on group projects. Description: Zampolit is a tool for checking how much work each contributor to a project is doing. It produces pretty graphs of word count per author. This is helpful when collaborating on projects that are mostly text, and do not necessarily break lines reliably or often. License: BSD3@@ -10,20 +10,14 @@ Copyright: Copyright (c) 2011 Brian Sniffen Category: Text Build-type: Simple--- Extra-source-files: -Cabal-version: >=1.2+Extra-source-files: README+Cabal-version: >=1.6 Executable zampolit- -- .hs or .lhs file containing the Main module. Main-is: Zampolit.hs- - -- Packages needed in order to build this package. Build-depends: base<5,parsec,cmdargs,time,containers,old-locale,directory,filepath,HSH,MissingH- - -- Modules not exported by this package.- -- Other-modules: - - -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.- -- Build-tools: - ++source-repository head+ type: git+ location: git://github.com/briansniffen/zampolit.git