diff gui_ze/gui_ze.bzl @ 64:a30944e5719e

Added vibe coded markdown to html script since it is useful for me. Updated Dowa so that it can be compiled without dirnet for windows.
author June Park <parkjune1995@gmail.com>
date Tue, 23 Dec 2025 15:18:46 -0800
parents ccb42d5bf8fd
children 7eb79fd91c7e
line wrap: on
line diff
--- a/gui_ze/gui_ze.bzl	Tue Dec 23 14:00:37 2025 -0800
+++ b/gui_ze/gui_ze.bzl	Tue Dec 23 15:18:46 2025 -0800
@@ -143,13 +143,17 @@
 
 def _move_files_into_dir_impl(ctx):
   srcs = ctx.files.srcs
+  outs = []
   for src in srcs:
     out = ctx.actions.declare_file(ctx.attr.dest + "/" + src.basename)
-    ctx.actions.symlink(
-      output = out,
-      target_file = src,
+    ctx.actions.run_shell(
+      inputs = [src],
+      outputs = [out],
+      command = "cp \"$1\" \"$2\"",
+      arguments = [src.path, out.path],
     )
-  return [DefaultInfo(files = depset([out]))]
+    outs.append(out)
+  return [DefaultInfo(files = depset(outs))]
 
 move_files_into_dir = rule(
   implementation = _move_files_into_dir_impl,