summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Schrader <philipp.schrader@gmail.com>2023-04-28 11:17:45 -0700
committerGitHub <noreply@github.com>2023-04-28 18:17:45 +0000
commit4172c3f0bd6a62cd29ef160f9236352466b634ca (patch)
treef77f7a1f8192452aec43873952520ef807ddf539 /src
parent417821fdd7eb82d0ebbd9ea1e920d4b27fb5c1b7 (diff)
downloadflatbuffers-4172c3f0bd6a62cd29ef160f9236352466b634ca.tar.gz
flatbuffers-4172c3f0bd6a62cd29ef160f9236352466b634ca.tar.bz2
flatbuffers-4172c3f0bd6a62cd29ef160f9236352466b634ca.zip
Migrate from rules_nodejs to rules_js/rules_ts (#7923)
* Start using pnpm * Add @npm * get more stuff set up * Get the analysis phase passing. * Get esbuild working? * Get it compiling? $ bazel build //tests/ts/... * Try to get the test working * test is passing * Get the other tests working * clarify comment * clean up a bit * Try to add another test * Add another test * clean up more * remove unused reference * Add e2e test * Get more of the test working * add lock file * Get test working on its own * Get e2e test passing * fix infinite recursion * Add comments * clean up some more * clean up more again * Source typescript version from package.json * run buildifier * lint * Fix unset `extra_env` * Incorporate feedback * run buildifier --------- Co-authored-by: Derek Bailey <derekbailey@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/BUILD.bazel11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/BUILD.bazel b/src/BUILD.bazel
index 28d0868c..b4d2a912 100644
--- a/src/BUILD.bazel
+++ b/src/BUILD.bazel
@@ -5,6 +5,17 @@ package(
default_visibility = ["//visibility:private"],
)
+filegroup(
+ name = "distribution",
+ srcs = [
+ "BUILD.bazel",
+ ] + glob([
+ "*.cpp",
+ "*.h",
+ ]),
+ visibility = ["//visibility:public"],
+)
+
# Public flatc library to compile flatbuffer files at runtime.
cc_library(
name = "flatbuffers",