about summary refs log tree commit diff
path: root/likely-music.cabal
diff options
context:
space:
mode:
authorsternenseemann <git@lukasepple.de>2017-08-29 20:22:57 +0200
committersternenseemann <git@lukasepple.de>2017-08-29 20:22:57 +0200
commit0bb5f55931fea132316b3f9613fb14c508455c31 (patch)
treea6f0ba874b925388546648259d9f40d50f66675b /likely-music.cabal
parent1fa245934f13b50ef26d0c1e75b3ab5a3b85049e (diff)
Add backend JSON parsing of graph scores
This introduces the soon to be backend of likely music, as well as
adding an ID to Nodes. Currently the backend only includes code for
parsing the json graph format to be sent by the frontend (see
example-graph.json).
Diffstat (limited to 'likely-music.cabal')
-rw-r--r--likely-music.cabal15
1 files changed, 14 insertions, 1 deletions
diff --git a/likely-music.cabal b/likely-music.cabal
index 8b7c8d3..5381134 100644
--- a/likely-music.cabal
+++ b/likely-music.cabal
@@ -21,5 +21,18 @@ library
                      , containers
                      , PortMidi
                      , random
-  hs-source-dirs:      src
+                     , text
+  hs-source-dirs:      lib
   default-language:    Haskell2010
+
+executable likely-music-backend
+  default-language:    Haskell2010
+  hs-source-dirs:      backend
+  main-is:             Main.hs
+  build-depends:       base
+                     , likely-music
+                     , aeson
+                     , containers
+                     , Euterpea
+                     , text
+                     , bytestring