mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
[bazel] Create better static libraries and add basic publishing (#8029)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
load("@bazel_skylib//rules:write_file.bzl", "write_file")
|
||||
load("@rules_pkg//:mappings.bzl", "pkg_files")
|
||||
|
||||
# Generate this because otherwise the linter wants to change the format.
|
||||
write_file(
|
||||
name = "manifest_write",
|
||||
out = "MANIFEST.MF",
|
||||
content = [
|
||||
"Manifest-Version: 1.0",
|
||||
"",
|
||||
],
|
||||
)
|
||||
|
||||
pkg_files(
|
||||
name = "src_jar_dummy_manifest",
|
||||
srcs = [
|
||||
"MANIFEST.MF",
|
||||
],
|
||||
prefix = "META-INF",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user