comparison mrjunejune/BUILD @ 83:49b611c808e7

Linked React games to mrjunejune pages.
author June Park <parkjune1995@gmail.com>
date Thu, 01 Jan 2026 12:56:14 -0800
parents 75de5903355c
children bcc76a156aea
comparison
equal deleted inserted replaced
82:1ded13720541 83:49b611c808e7
2 load("@rules_cc//cc:cc_library.bzl", "cc_library") 2 load("@rules_cc//cc:cc_library.bzl", "cc_library")
3 # load("@rules_python//python:py_binary.bzl", "py_binary") 3 # load("@rules_python//python:py_binary.bzl", "py_binary")
4 load("//gui_ze:gui_ze.bzl", "move_files_into_dir", "bundle") 4 load("//gui_ze:gui_ze.bzl", "move_files_into_dir", "bundle")
5 5
6 move_files_into_dir( 6 move_files_into_dir(
7 name = "compiled_ts_games",
8 srcs = [
9 "//react_games:games"
10 ],
11 dest = "pages/games",
12 )
13
14 move_files_into_dir(
7 name = "compiled_ts", 15 name = "compiled_ts",
8 srcs = [ 16 srcs = [
9 "//playground:hello", 17 "//playground:hello",
10 "//markdown_converter:markdown_to_html" 18 "//markdown_converter:markdown_to_html",
11 ], 19 ],
12 dest = "pages", 20 dest = "pages",
13 ) 21 )
14 22
15 filegroup( 23 filegroup(
16 name = "pages_files", 24 name = "pages_files",
17 srcs = glob(["pages/**"]) + [":compiled_ts"], 25 srcs = glob(["pages/**"]) + [":compiled_ts", ":compiled_ts_games"],
18 ) 26 )
19 27
20 cc_binary( 28 cc_binary(
21 name = "mrjunejune_server", 29 name = "mrjunejune_server",
22 srcs = ["main.c"], 30 srcs = ["main.c"],