Mercurial
comparison mrjunejune/BUILD @ 15:2b9e75756825
[GuiZe] Updated to handle bundling and created a shee
l script for pushing.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Fri, 03 Oct 2025 06:50:33 -0700 |
| parents | de54585a40f1 |
| children | fb9bcd3145cb |
comparison
equal
deleted
inserted
replaced
| 14:0570ada19343 | 15:2b9e75756825 |
|---|---|
| 1 load("@rules_cc//cc:cc_binary.bzl", "cc_binary") | 1 load("@rules_cc//cc:cc_binary.bzl", "cc_binary") |
| 2 load("@rules_cc//cc:cc_library.bzl", "cc_library") | 2 load("@rules_cc//cc:cc_library.bzl", "cc_library") |
| 3 load("//gui_ze:gui_ze.bzl", "move_files_into_dir_precompile") | 3 load("//gui_ze:gui_ze.bzl", "move_files_into_dir", "bundle") |
| 4 | 4 |
| 5 move_files_into_dir( | 5 move_files_into_dir( |
| 6 name = "compiled_ts", | 6 name = "compiled_ts", |
| 7 src = [ | 7 srcs = [ |
| 8 "//playground:playground_tsx", | 8 "//playground:hello", |
| 9 ], | 9 ], |
| 10 dest = "pages", | 10 dest = "pages", |
| 11 ) | 11 ) |
| 12 | 12 |
| 13 filegroup( | 13 filegroup( |
| 19 name = "mrjunejune_server", | 19 name = "mrjunejune_server", |
| 20 srcs = ["main.c"], | 20 srcs = ["main.c"], |
| 21 deps = ["//seobeo:seobeo"], | 21 deps = ["//seobeo:seobeo"], |
| 22 data = [":pages_files"], | 22 data = [":pages_files"], |
| 23 ) | 23 ) |
| 24 | |
| 25 bundle( | |
| 26 name = "mrjunejune_server_bundle", | |
| 27 binary = ":mrjunejune_server", | |
| 28 ) |