-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBUILD.bazel
67 lines (63 loc) · 1.64 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
load("@flare_timing//:default-extensions.bzl", "DEFAULT_EXTENSIONS")
load(
"@io_tweag_rules_haskell//haskell:haskell.bzl",
"haskell_toolchain",
)
haskell_toolchain(
name = "ghc",
tools = "@ghc//:bin",
version = "8.2.2",
)
haskell_import(name = "base")
haskell_import(name = "split")
haskell_import(name = "path")
haskell_import(name = "aeson")
haskell_import(name = "scientific")
haskell_import(name = "containers")
haskell_import(name = "unordered-containers")
haskell_import(name = "time")
haskell_import(name = "cassava")
haskell_import(name = "bytestring")
haskell_import(name = "directory")
haskell_import(name = "filepath")
haskell_import(name = "filemanip")
haskell_import(name = "mtl")
haskell_import(name = "safe-exceptions")
haskell_import(name = "yaml")
haskell_import(name = "vector")
haskell_library(
name = "flight-scribe",
srcs = glob(["library/**/*.hs"]),
src_strip_prefix = "library",
compiler_flags = [
"-threaded",
"-Wall",
] + DEFAULT_EXTENSIONS,
deps = [
":base",
":split",
":path",
":aeson",
":scientific",
":containers",
":unordered-containers",
":time",
":cassava",
":bytestring",
":directory",
":filepath",
":filemanip",
":mtl",
":safe-exceptions",
":yaml",
":vector",
"//detour-via-sci:detour-via-sci",
"//clip:flight-clip",
"//comp:flight-comp",
"//gap:flight-gap",
"//latlng:flight-latlng",
"//route:flight-route",
"//zone:flight-zone",
],
visibility = ["//visibility:public"],
)