diff s3/tests/BUILD @ 198:008ca7780c8a

S3 upload got it to work.
author MrJuneJune <me@mrjunejune.com>
date Sat, 14 Feb 2026 16:18:14 -0800
parents 83f16548ba41
children
line wrap: on
line diff
--- a/s3/tests/BUILD	Sat Feb 14 16:08:47 2026 -0800
+++ b/s3/tests/BUILD	Sat Feb 14 16:18:14 2026 -0800
@@ -1,7 +1,20 @@
 load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
+load("@rules_cc//cc:cc_test.bzl", "cc_test")
+
+cc_test(
+  name = "s3_uploader_test",
+  srcs = ["s3_uploader_test.c"],
+  deps = [
+    "//s3:s3",
+  ],
+  data = [
+    "//:env_file",
+  ],
+  visibility = ["//visibility:public"],
+)
 
 cc_binary(
-  name = "s3_uploader_test",
+  name = "s3_uploader_bin",
   srcs = ["s3_uploader_test.c"],
   deps = [
     "//s3:s3",