From 2ee40a7f64c89433996db458a7571140b530a1fd Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Wed, 19 Aug 2020 15:49:39 +0200 Subject: [PATCH] start working on the experiment runner #59 --- Hash2Pub.cabal | 16 +++++++++++++++- app/Experiment.hs | 3 +++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 app/Experiment.hs diff --git a/Hash2Pub.cabal b/Hash2Pub.cabal index 5ffff0d..2cc2d84 100644 --- a/Hash2Pub.cabal +++ b/Hash2Pub.cabal @@ -46,7 +46,7 @@ category: Network extra-source-files: CHANGELOG.md common deps - build-depends: base ^>=4.12.0.0, containers ^>=0.6.0.1, bytestring, utf8-string ^>=1.0.1.1, network ^>=2.8.0.1, time ^>=1.8.0.2, cmdargs ^>= 0.10, cryptonite ^>= 0.25, memory, async, stm, asn1-encoding, asn1-types, asn1-parse, publicsuffix, network-byte-order, safe, iproute, mtl, random, servant, servant-server, servant-client, warp, text, unordered-containers, hashable, unicode-transforms, http-client, http-types + build-depends: base ^>=4.12.0.0, containers ^>=0.6.0.1, bytestring, utf8-string ^>=1.0.1.1, network ^>=2.8.0.1, time ^>=1.8.0.2, cmdargs ^>= 0.10, cryptonite ^>= 0.25, memory, async, stm, asn1-encoding, asn1-types, asn1-parse, publicsuffix, network-byte-order, safe, iproute, mtl, random, servant, servant-server, servant-client, warp, text, unordered-containers, hashable, unicode-transforms, http-client, http-types, unbounded-delays ghc-options: -Wall @@ -93,6 +93,20 @@ executable Hash2Pub ghc-options: -threaded +executable Experiment + -- experiment runner + import: deps + + build-depends: Hash2Pub + + main-is: Experiment.hs + + hs-source-dirs: app + + default-language: Haskell2010 + + ghc-options: -threaded + test-suite Hash2Pub-test -- Test dependencies. diff --git a/app/Experiment.hs b/app/Experiment.hs new file mode 100644 index 0000000..c7abbcb --- /dev/null +++ b/app/Experiment.hs @@ -0,0 +1,3 @@ +module Main where + +main = putStrLn "This gives us ALL the insights!"