-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
42 lines (38 loc) · 908 Bytes
/
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
package(default_visibility = ["//visibility:public"])
load(
"@rules_haskell//haskell:defs.bzl",
"haskell_binary",
"haskell_library",
"haskell_repl",
)
# You can add your own libraries with haskell_library.
# haskell_library(
# name = "MY_LIBRARY_NAME",
# src_strip_prefix = "src",
# srcs = glob(['src/**/*.hs']),
# deps = [
# "base_pkg"
# ],
# )
# An example binary using the Prelude module from the
# GHC base package, and zlib from stackage, to print the hello world.
# haskell_binary(
# name = "example",
# srcs = [":Example.hs"],
# deps = [
# "//builtin:base",
# "@stackage//:zlib",
# ],
# )
haskell_repl(
name = "hie-bios",
collect_data = False,
experimental_from_binary = [
"//builtin/...",
],
deps = [
"//Aoc2019:Intcode",
"@stackage//:split",
"@stackage//:zlib",
],
)