forked from ProdriveTechnologies/bazel-pandoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
43 lines (36 loc) · 955 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
43
load(":toolchain.bzl", "pandoc_toolchain")
load(":pandoc.bzl", "PANDOC_EXTENSIONS", "pandoc")
exports_files(["README.md"])
# Precompiled Pandoc binaries provided by upstream.
toolchain_type(
name = "pandoc_toolchain_type",
visibility = ["//visibility:public"],
)
pandoc_toolchain(
exec_compatible_with = [
"@bazel_tools//platforms:linux",
"@bazel_tools//platforms:x86_64",
],
platform = "linux-x86_64",
)
pandoc_toolchain(
exec_compatible_with = [
"@bazel_tools//platforms:osx",
"@bazel_tools//platforms:x86_64",
],
platform = "macOS",
)
pandoc_toolchain(
exec_compatible_with = [
"@bazel_tools//platforms:windows",
"@bazel_tools//platforms:x86_32",
],
platform = "windows-i386",
)
pandoc_toolchain(
exec_compatible_with = [
"@bazel_tools//platforms:windows",
"@bazel_tools//platforms:x86_64",
],
platform = "windows-x86_64",
)