forked from ProdriveTechnologies/bazel-latex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
72 lines (65 loc) · 2.34 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
68
69
70
71
72
load(":toolchain.bzl", "latex_toolchain")
exports_files([
"run_lualatex.py",
"view_pdf.sh",
])
toolchain_type(
name = "latex_toolchain_type",
visibility = ["//visibility:public"],
)
latex_toolchain(
exec_compatible_with = [
"@bazel_tools//platforms:freebsd",
"@bazel_tools//platforms:x86_64",
],
platform = "amd64-freebsd",
)
latex_toolchain(
exec_compatible_with = [
"@bazel_tools//platforms:osx",
"@bazel_tools//platforms:x86_64",
],
platform = "x86_64-darwin",
)
latex_toolchain(
exec_compatible_with = [
"@bazel_tools//platforms:linux",
"@bazel_tools//platforms:x86_64",
],
platform = "x86_64-linux",
)
filegroup(
name = "core_dependencies",
srcs = [
"@bazel_latex//:run_lualatex.py",
"@texlive_extra__tlpkg__TeXLive",
"@texlive_texmf__texmf-dist__fonts__enc__dvips__base",
"@texlive_texmf__texmf-dist__fonts__enc__dvips__cm-super",
"@texlive_texmf__texmf-dist__fonts__enc__dvips__lm",
"@texlive_texmf__texmf-dist__fonts__map__pdftex__updmap",
"@texlive_texmf__texmf-dist__fonts__opentype__public__lm",
"@texlive_texmf__texmf-dist__fonts__tfm__public__cm",
"@texlive_texmf__texmf-dist__fonts__tfm__public__latex-fonts",
"@texlive_texmf__texmf-dist__fonts__tfm__public__lm",
"@texlive_texmf__texmf-dist__fonts__type1__public__amsfonts__cm",
"@texlive_texmf__texmf-dist__fonts__type1__public__cm-super",
"@texlive_texmf__texmf-dist__fonts__type1__public__lm",
"@texlive_texmf__texmf-dist__scripts__texlive",
"@texlive_texmf__texmf-dist__tex__generic__config",
"@texlive_texmf__texmf-dist__tex__generic__hyphen",
"@texlive_texmf__texmf-dist__tex__generic__tex-ini-files",
"@texlive_texmf__texmf-dist__tex__generic__unicode-data",
"@texlive_texmf__texmf-dist__tex__latex__base",
"@texlive_texmf__texmf-dist__tex__latex__latexconfig",
"@texlive_texmf__texmf-dist__tex__latex__lm",
"@texlive_texmf__texmf-dist__tex__luatex__lualibs",
"@texlive_texmf__texmf-dist__tex__luatex__luaotfload",
"@texlive_texmf__texmf-dist__web2c",
],
visibility = ["//visibility:public"],
)
py_binary(
name = "run_lualatex",
srcs = ["run_lualatex.py"],
visibility = ["//visibility:public"],
)