aboutsummaryrefslogtreecommitdiff
path: root/haskell-gtfs.cabal
diff options
context:
space:
mode:
authorstuebinm2022-06-17 23:01:24 +0200
committerstuebinm2022-06-17 23:01:24 +0200
commit815755861152fb0e3dfdd9b6321f8f74e7bf8515 (patch)
tree8c0ae23e77842d786496c244918045c98df67b86 /haskell-gtfs.cabal
parentc45ed0661ff5ea102e1e4ab1ed59945df57c619e (diff)
generate javascript functions
(this is commented out in the cabal file, since unfortunately the servant-js package is broken in nixpkgs and therefore otherwise breaks the nix build process … but it can be used "by hand")
Diffstat (limited to 'haskell-gtfs.cabal')
-rw-r--r--haskell-gtfs.cabal12
1 files changed, 12 insertions, 0 deletions
diff --git a/haskell-gtfs.cabal b/haskell-gtfs.cabal
index 0396a5c..ec312ee 100644
--- a/haskell-gtfs.cabal
+++ b/haskell-gtfs.cabal
@@ -39,6 +39,18 @@ executable tracktrain
default-extensions: OverloadedStrings
, ScopedTypeVariables
+-- executable gen-js
+-- main-is: GenJS.hs
+-- build-depends: base ^>=4.14.3.0
+-- , servant-js
+-- , tracktrain
+-- , universum
+-- hs-source-dirs: app
+-- default-language: Haskell2010
+-- default-extensions: OverloadedStrings
+-- , ScopedTypeVariables
+-- , NoImplicitPrelude
+
library
build-depends: base ^>=4.14.3.0