comparison hg-web/BUILD @ 222:a8d6435dc021 hg-web

[hg-web] Run local stack through Bazel
author MrJuneJune <me@mrjunejune.com>
date Sun, 02 Aug 2026 09:07:36 -0700
parents 9f4429c49733
children 0e7b9464248d
comparison
equal deleted inserted replaced
221:ce7f4400c2de 222:a8d6435dc021
1 load("@rules_cc//cc:cc_binary.bzl", "cc_binary") 1 load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
2 load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
2 load("//gui_ze:gui_ze.bzl", "move_files_into_dir", "bundle", "bun_bundle") 3 load("//gui_ze:gui_ze.bzl", "move_files_into_dir", "bundle", "bun_bundle")
3 4
4 # Source files 5 # Source files
5 filegroup( 6 filegroup(
6 name = "src_ts_files", 7 name = "src_ts_files",
65 srcs = ["main.c"], 66 srcs = ["main.c"],
66 deps = ["//seobeo:seobeo"], 67 deps = ["//seobeo:seobeo"],
67 data = [":all_assets"], 68 data = [":all_assets"],
68 ) 69 )
69 70
71 sh_binary(
72 name = "dev",
73 srcs = ["dev.sh"],
74 data = [
75 ":hg_web_server",
76 "@bazel_tools//tools/bash/runfiles",
77 ],
78 )
79
70 bundle( 80 bundle(
71 name = "hg_web_server_bundle", 81 name = "hg_web_server_bundle",
72 binary = ":hg_web_server", 82 binary = ":hg_web_server",
73 ) 83 )