Skip to content

Commit

Permalink
bazel: Fix for website build (#2383)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax authored Oct 30, 2024
1 parent a0ce9b8 commit cad7d5c
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions bazel/website/tools/pelican/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
load("@rules_pkg//:pkg.bzl", "pkg_tar")
load("@rules_python//python/entry_points:py_console_script_binary.bzl", "py_console_script_binary")
load("@website_pip3//:requirements.bzl", "requirement")

py_console_script_binary(
name = "pelican",
Expand All @@ -13,22 +14,17 @@ py_console_script_binary(
requirement("packaging"),
requirement("pyyaml"),
],
entry_point_alias = pip_entry_point,
visibility = ["//visibility:public"],
)

alias(
py_console_script_binary(
name = "pelican-quickstart",
actual = pip_entry_point(
pkg = "pelican",
script = "pelican-quickstart",
),
pkg = "@website_pip3//pelican",
script = "pelican-quickstart",
)

alias(
py_console_script_binary(
name = "pelican-themes",
actual = py_console_script_binary(
pkg = "@website_pip3//pelican",
script = "pelican-themes",
),
pkg = "@website_pip3//pelican",
script = "pelican-themes",
)

0 comments on commit cad7d5c

Please sign in to comment.