Skip to content

Commit

Permalink
Add a Windows toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Kernald committed Oct 8, 2022
1 parent 3809001 commit 90a67c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ latex_toolchain(
platform = "x86_64-linux",
)

latex_toolchain(
exec_compatible_with = [
"@bazel_tools//platforms:windows",
"@bazel_tools//platforms:x86_64",
],
platform = "win32",
)

filegroup(
name = "core_dependencies",
srcs = [
Expand Down
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ register_toolchains(
"//:latex_toolchain_amd64-freebsd",
"//:latex_toolchain_x86_64-darwin",
"//:latex_toolchain_x86_64-linux",
"//:latex_toolchain_win32",
)

load("@bazel_latex//:repositories.bzl", "latex_repositories")

latex_repositories()

1 change: 1 addition & 0 deletions repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5696,4 +5696,5 @@ filegroup(
"@bazel_latex//:latex_toolchain_amd64-freebsd",
"@bazel_latex//:latex_toolchain_x86_64-darwin",
"@bazel_latex//:latex_toolchain_x86_64-linux",
"@bazel_latex//:latex_toolchain_win32",
)

0 comments on commit 90a67c1

Please sign in to comment.