-
Notifications
You must be signed in to change notification settings - Fork 13
/
BUILD.bazel
40 lines (35 loc) · 884 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
load("@rules_java//java:defs.bzl", "java_binary")
load("//:packages.bzl", "PACKAGES")
load("//bazel:py_rules.bzl", "py_wheel")
load("//bazel/requirements:rules.bzl", "generate_pyproject_file")
package(default_visibility = ["//visibility:public"])
exports_files([
"CHANGELOG.md",
"README.md",
"LICENSE.txt",
"conda-env-extended.yml",
"conda-env-snowflake.yml",
"conda-env.yml",
"mypy.ini",
"requirements.txt",
"requirements.yml",
])
java_binary(
name = "bazel-diff",
main_class = "com.bazel_diff.Main",
runtime_deps = ["@bazel_diff//jar"],
)
generate_pyproject_file(
name = "snowml",
src_requirement_file = "//:requirements.yml",
)
py_wheel(
name = "wheel",
data = [
"//:CHANGELOG.md",
"//:LICENSE.txt",
"//:README.md",
],
pyproject_toml = ":snowml_pyproject",
deps = PACKAGES,
)