mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[bazel] Publish wpilib{c,j}examples (#8136)
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
load("@aspect_bazel_lib//lib:write_source_files.bzl", "write_source_file")
|
||||
load("@rules_jvm_external//:defs.bzl", "maven_export")
|
||||
load("@rules_python//python:defs.bzl", "py_binary")
|
||||
load("//wpilibcExamples:build_cpp_examples.bzl", "build_commands", "build_examples", "build_snippets", "build_templates", "build_tests")
|
||||
|
||||
@@ -48,3 +49,24 @@ build_snippets()
|
||||
build_templates()
|
||||
|
||||
build_tests()
|
||||
|
||||
maven_export(
|
||||
name = "examples_publish",
|
||||
maven_coordinates = "edu.wpi.first.wpilibc:examples:$(WPILIB_VERSION)",
|
||||
target = ":examples-zip",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
maven_export(
|
||||
name = "commands_publish",
|
||||
maven_coordinates = "edu.wpi.first.wpilibc:commands:$(WPILIB_VERSION)",
|
||||
target = ":commands-zip",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
maven_export(
|
||||
name = "templates_publish",
|
||||
maven_coordinates = "edu.wpi.first.wpilibc:templates:$(WPILIB_VERSION)",
|
||||
target = ":templates-zip",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user