-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathBUILD
More file actions
34 lines (30 loc) · 662 Bytes
/
BUILD
File metadata and controls
34 lines (30 loc) · 662 Bytes
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
load("@io_bazel_rules_ocaml//ocaml:ocaml.bzl", "ocaml_native_binary", "ocaml_bytecode_binary")
filegroup(
name = "srcs",
srcs = [
"eval.ml",
"lexer.ml",
"parser.ml",
"scheme.ml",
"types.ml",
"interpreter.ml",
"util.ml",
],
)
ocaml_bytecode_binary(
name = "scheme-bytecode",
srcs = [":srcs"],
src_root = "scheme.ml",
opam_packages = ["sedlex"],
)
ocaml_native_binary(
name = "scheme-native",
srcs = [":srcs"],
src_root = "scheme.ml",
opam_packages = ["sedlex"],
)
ocaml_native_binary(
name = "types",
srcs = ["types.ml"],
src_root = "types.ml",
)