Skip to content

Commit

Permalink
New Binary; New Module documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sordina committed Jan 9, 2015
1 parent 6bb613b commit 3ec62c7
Show file tree
Hide file tree
Showing 7 changed files with 386 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@ todo:
docker-build:
./scripts/docker-build

upload:
cabal-s3
cabl sdist
cabal upload dist/*.tar.gz

dot:
find src -name '*.hs' | xargs graphmod -q > doc/modules.dot
dot -Tpng doc/modules.dot > doc/modules.png
open doc/modules.png
dot -Tsvg doc/modules.dot > doc/modules.svg
find src -name '*.hs' | xargs graphmod --no-cluster -q > doc/modulesnc.dot
dot -Tsvg doc/modulesnc.dot > doc/modulesnc.svg
open doc/modules.svg
open doc/modulesnc.svg

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ This is intended to be used in two forms. A library, and a debugging tool execut

### Using the library

![Module Dependency Graph](http://i.imgur.com/e2x0TIN.png)

In order to use Deadpan as a library you will need to write a Deadpan monad.

This could look something like the following:
Expand Down Expand Up @@ -159,6 +161,8 @@ You can look for incomplete items in the source by running `make todo`.
## Binaries

Pre-compiled binaries can be found for the `deadpan` debugging tool below:

* <http://sordina.binaries.s3.amazonaws.com/deadpan-0.8.0.0-MacOSX-10.9.5-13F34.zip>
* <http://sordina.binaries.s3.amazonaws.com/deadpan-0.7.0.0-Linux-3.16.7-tinycore64-x86_64.zip>
* <http://sordina.binaries.s3.amazonaws.com/deadpan-0.7.0.0-MacOSX-10.9.5-13F34.zip>
* <http://sordina.binaries.s3.amazonaws.com/deadpan-0.6.0.1-MacOSX-10.9.5-13F34.zip>
Expand Down
Binary file removed doc/modules.png
Binary file not shown.
178 changes: 178 additions & 0 deletions doc/modules.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions doc/modulesnc.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
digraph G {
size="6,4";
ratio="fill";
u5[fillcolor="#ccffcc",style="filled",label="Main"];
u4[fillcolor="#99ff99",style="filled",label="Data.EJson"];
u3[fillcolor="#66ff66",style="filled",label="Data.EJson.Props"];
u2[fillcolor="#66ff66",style="filled",label="Data.EJson.EJson2Value"];
u1[fillcolor="#66ff66",style="filled",label="Data.EJson.EJson"];
u0[fillcolor="#66ff66",style="filled",label="Data.EJson.Aeson"];
u11[fillcolor="#99cc99",style="filled",label="Web.DDP.Deadpan"];
u10[fillcolor="#66cc66",style="filled",label="Web.DDP.Deadpan.Websockets"];
u9[fillcolor="#66cc66",style="filled",label="Web.DDP.Deadpan.GUID"];
u8[fillcolor="#66cc66",style="filled",label="Web.DDP.Deadpan.DSL"];
u7[fillcolor="#66cc66",style="filled",label="Web.DDP.Deadpan.Comms"];
u6[fillcolor="#66cc66",style="filled",label="Web.DDP.Deadpan.Callbacks"];
u0 -> u1;
u0 -> u2;
u2 -> u1;
u3 -> u4;
u4 -> u0;
u4 -> u1;
u4 -> u2;
u5 -> u11;
u6 -> u8;
u7 -> u4;
u8 -> u4;
u8 -> u7;
u8 -> u9;
u9 -> u4;
u11 -> u6;
u11 -> u8;
u11 -> u10;

}

Binary file added doc/modulesnc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3ec62c7

Please sign in to comment.