Mercurial
changeset 27:b212647e8654
[Bun] Adding OS specific files that I used for testing as to be ignored.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Thu, 09 Oct 2025 06:45:50 -0700 |
| parents | a58a663dae68 |
| children | de3b9d1dca51 |
| files | .hgignore playground/BUILD third_party/bun/BUILD |
| diffstat | 3 files changed, 12 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Thu Oct 09 06:41:49 2025 -0700 +++ b/.hgignore Thu Oct 09 06:45:50 2025 -0700 @@ -1,6 +1,6 @@ syntax: glob -# 1) Bazel’s output base directories (e.g. bazel-<workspace-hash>/) +# Bazel specifics bazel-*/ *.runfiles/ *.runfiles_manifest @@ -8,7 +8,13 @@ bazel-*/external/ .bazelcache/ +# Folder for unpacking standalone bazel target. projects/* +# Git backup on private github... probably remove and just upload to my s3 bucket directly or something. .git/* .gitignore + +# Bun specific this is os dependent so should be ignored. +.third_party/bun/bun +.third_party/bun/node_modules
--- a/playground/BUILD Thu Oct 09 06:41:49 2025 -0700 +++ b/playground/BUILD Thu Oct 09 06:45:50 2025 -0700 @@ -30,6 +30,9 @@ name = "hello", src = "main.ts", src_folder = "playground", - data = ["//third_party/bun:node_modules", ":all_ts_files"], + data = [ + "//third_party/bun:bun_files", + ":all_ts_files", + ], visibility = ["//visibility:public"], )
--- a/third_party/bun/BUILD Thu Oct 09 06:41:49 2025 -0700 +++ b/third_party/bun/BUILD Thu Oct 09 06:45:50 2025 -0700 @@ -42,15 +42,9 @@ ) filegroup( - name = "node_modules", + name = "bun_files", srcs = [ "package.json", "tsconfig.json", "bun.lock", ] + glob(["node_modules/**"]), visibility = ["//visibility:public"], ) - -filegroup( - name = "bun_dir", - srcs = glob(["**"], exclude = ["BUILD", "bun"],), - visibility = ["//visibility:public"], -)