annotate mrjunejune/BUILD @ 93:be91a73d801a

[MrJuneJune] Updated my website.
author June Park <parkjune1995@gmail.com>
date Fri, 02 Jan 2026 18:02:22 -0800
parents bcc76a156aea
children 092afa595764
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
114cad94008f [Seobeo] Updated to support thread and edge server calls.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
1 load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
114cad94008f [Seobeo] Updated to support thread and edge server calls.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
2 load("@rules_cc//cc:cc_library.bzl", "cc_library")
71
75de5903355c Giagantic changes that update Dowa library to be more align with stb style array and hashmap. Updated Seobeo to be caching on server side instead of file level caching. Deleted bunch of things I don't really use.
June Park <parkjune1995@gmail.com>
parents: 67
diff changeset
3 # load("@rules_python//python:py_binary.bzl", "py_binary")
15
2b9e75756825 [GuiZe] Updated to handle bundling and created a shee
June Park <parkjune1995@gmail.com>
parents: 12
diff changeset
4 load("//gui_ze:gui_ze.bzl", "move_files_into_dir", "bundle")
12
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 7
diff changeset
5
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 7
diff changeset
6 move_files_into_dir(
83
49b611c808e7 Linked React games to mrjunejune pages.
June Park <parkjune1995@gmail.com>
parents: 71
diff changeset
7 name = "compiled_ts_games",
49b611c808e7 Linked React games to mrjunejune pages.
June Park <parkjune1995@gmail.com>
parents: 71
diff changeset
8 srcs = [
49b611c808e7 Linked React games to mrjunejune pages.
June Park <parkjune1995@gmail.com>
parents: 71
diff changeset
9 "//react_games:games"
49b611c808e7 Linked React games to mrjunejune pages.
June Park <parkjune1995@gmail.com>
parents: 71
diff changeset
10 ],
84
bcc76a156aea Updated to be called src instead of pages.
June Park <parkjune1995@gmail.com>
parents: 83
diff changeset
11 dest = "src/games",
83
49b611c808e7 Linked React games to mrjunejune pages.
June Park <parkjune1995@gmail.com>
parents: 71
diff changeset
12 )
49b611c808e7 Linked React games to mrjunejune pages.
June Park <parkjune1995@gmail.com>
parents: 71
diff changeset
13
49b611c808e7 Linked React games to mrjunejune pages.
June Park <parkjune1995@gmail.com>
parents: 71
diff changeset
14 move_files_into_dir(
12
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 7
diff changeset
15 name = "compiled_ts",
15
2b9e75756825 [GuiZe] Updated to handle bundling and created a shee
June Park <parkjune1995@gmail.com>
parents: 12
diff changeset
16 srcs = [
2b9e75756825 [GuiZe] Updated to handle bundling and created a shee
June Park <parkjune1995@gmail.com>
parents: 12
diff changeset
17 "//playground:hello",
83
49b611c808e7 Linked React games to mrjunejune pages.
June Park <parkjune1995@gmail.com>
parents: 71
diff changeset
18 "//markdown_converter:markdown_to_html",
12
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 7
diff changeset
19 ],
84
bcc76a156aea Updated to be called src instead of pages.
June Park <parkjune1995@gmail.com>
parents: 83
diff changeset
20 dest = "src",
12
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 7
diff changeset
21 )
7
114cad94008f [Seobeo] Updated to support thread and edge server calls.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
22
114cad94008f [Seobeo] Updated to support thread and edge server calls.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
23 filegroup(
84
bcc76a156aea Updated to be called src instead of pages.
June Park <parkjune1995@gmail.com>
parents: 83
diff changeset
24 name = "src_files",
bcc76a156aea Updated to be called src instead of pages.
June Park <parkjune1995@gmail.com>
parents: 83
diff changeset
25 srcs = glob(["src/**"]) + [":compiled_ts", ":compiled_ts_games"],
7
114cad94008f [Seobeo] Updated to support thread and edge server calls.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
26 )
114cad94008f [Seobeo] Updated to support thread and edge server calls.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
27
114cad94008f [Seobeo] Updated to support thread and edge server calls.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
28 cc_binary(
12
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 7
diff changeset
29 name = "mrjunejune_server",
7
114cad94008f [Seobeo] Updated to support thread and edge server calls.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
30 srcs = ["main.c"],
71
75de5903355c Giagantic changes that update Dowa library to be more align with stb style array and hashmap. Updated Seobeo to be caching on server side instead of file level caching. Deleted bunch of things I don't really use.
June Park <parkjune1995@gmail.com>
parents: 67
diff changeset
31 deps = ["//seobeo:seobeo_server"],
84
bcc76a156aea Updated to be called src instead of pages.
June Park <parkjune1995@gmail.com>
parents: 83
diff changeset
32 data = [":src_files"],
7
114cad94008f [Seobeo] Updated to support thread and edge server calls.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
33 )
15
2b9e75756825 [GuiZe] Updated to handle bundling and created a shee
June Park <parkjune1995@gmail.com>
parents: 12
diff changeset
34
2b9e75756825 [GuiZe] Updated to handle bundling and created a shee
June Park <parkjune1995@gmail.com>
parents: 12
diff changeset
35 bundle(
2b9e75756825 [GuiZe] Updated to handle bundling and created a shee
June Park <parkjune1995@gmail.com>
parents: 12
diff changeset
36 name = "mrjunejune_server_bundle",
2b9e75756825 [GuiZe] Updated to handle bundling and created a shee
June Park <parkjune1995@gmail.com>
parents: 12
diff changeset
37 binary = ":mrjunejune_server",
2b9e75756825 [GuiZe] Updated to handle bundling and created a shee
June Park <parkjune1995@gmail.com>
parents: 12
diff changeset
38 )
37
fb9bcd3145cb [ReactGames] Few games I made using react just to practice few things.
MrJuneJune <me@mrjunejune.com>
parents: 15
diff changeset
39
fb9bcd3145cb [ReactGames] Few games I made using react just to practice few things.
MrJuneJune <me@mrjunejune.com>
parents: 15
diff changeset
40 cc_library(
fb9bcd3145cb [ReactGames] Few games I made using react just to practice few things.
MrJuneJune <me@mrjunejune.com>
parents: 15
diff changeset
41 name = "mrjunejune_server_lib",
fb9bcd3145cb [ReactGames] Few games I made using react just to practice few things.
MrJuneJune <me@mrjunejune.com>
parents: 15
diff changeset
42 srcs = ["server_entry.c"],
67
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
43 deps = ["//seobeo:seobeo_server"], # Use server-only target (no OpenSSL)
37
fb9bcd3145cb [ReactGames] Few games I made using react just to practice few things.
MrJuneJune <me@mrjunejune.com>
parents: 15
diff changeset
44 linkstatic = False, # ensures dynamic linking
fb9bcd3145cb [ReactGames] Few games I made using react just to practice few things.
MrJuneJune <me@mrjunejune.com>
parents: 15
diff changeset
45 visibility = ["//visibility:public"],
fb9bcd3145cb [ReactGames] Few games I made using react just to practice few things.
MrJuneJune <me@mrjunejune.com>
parents: 15
diff changeset
46 )
fb9bcd3145cb [ReactGames] Few games I made using react just to practice few things.
MrJuneJune <me@mrjunejune.com>
parents: 15
diff changeset
47
71
75de5903355c Giagantic changes that update Dowa library to be more align with stb style array and hashmap. Updated Seobeo to be caching on server side instead of file level caching. Deleted bunch of things I don't really use.
June Park <parkjune1995@gmail.com>
parents: 67
diff changeset
48 # py_binary(
75de5903355c Giagantic changes that update Dowa library to be more align with stb style array and hashmap. Updated Seobeo to be caching on server side instead of file level caching. Deleted bunch of things I don't really use.
June Park <parkjune1995@gmail.com>
parents: 67
diff changeset
49 # name = "python_server",
75de5903355c Giagantic changes that update Dowa library to be more align with stb style array and hashmap. Updated Seobeo to be caching on server side instead of file level caching. Deleted bunch of things I don't really use.
June Park <parkjune1995@gmail.com>
parents: 67
diff changeset
50 # srcs = ["python_server.py"],
75de5903355c Giagantic changes that update Dowa library to be more align with stb style array and hashmap. Updated Seobeo to be caching on server side instead of file level caching. Deleted bunch of things I don't really use.
June Park <parkjune1995@gmail.com>
parents: 67
diff changeset
51 # deps = [
75de5903355c Giagantic changes that update Dowa library to be more align with stb style array and hashmap. Updated Seobeo to be caching on server side instead of file level caching. Deleted bunch of things I don't really use.
June Park <parkjune1995@gmail.com>
parents: 67
diff changeset
52 # ":mrjunejune_server_lib",
75de5903355c Giagantic changes that update Dowa library to be more align with stb style array and hashmap. Updated Seobeo to be caching on server side instead of file level caching. Deleted bunch of things I don't really use.
June Park <parkjune1995@gmail.com>
parents: 67
diff changeset
53 # "@pip_deps//:cffi",
75de5903355c Giagantic changes that update Dowa library to be more align with stb style array and hashmap. Updated Seobeo to be caching on server side instead of file level caching. Deleted bunch of things I don't really use.
June Park <parkjune1995@gmail.com>
parents: 67
diff changeset
54 # ],
75de5903355c Giagantic changes that update Dowa library to be more align with stb style array and hashmap. Updated Seobeo to be caching on server side instead of file level caching. Deleted bunch of things I don't really use.
June Park <parkjune1995@gmail.com>
parents: 67
diff changeset
55 # data = [":mrjunejune_server_lib"],
75de5903355c Giagantic changes that update Dowa library to be more align with stb style array and hashmap. Updated Seobeo to be caching on server side instead of file level caching. Deleted bunch of things I don't really use.
June Park <parkjune1995@gmail.com>
parents: 67
diff changeset
56 # )
37
fb9bcd3145cb [ReactGames] Few games I made using react just to practice few things.
MrJuneJune <me@mrjunejune.com>
parents: 15
diff changeset
57
67
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
58 cc_test(
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
59 name = "integration_test",
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
60 srcs = ["test/integration_test.c"],
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
61 deps = ["//seobeo:seobeo_client"],
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
62 data = [
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
63 "//mrjunejune:mrjunejune_server",
84
bcc76a156aea Updated to be called src instead of pages.
June Park <parkjune1995@gmail.com>
parents: 83
diff changeset
64 "//mrjunejune:src_files",
67
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
65 "//mrjunejune:test_snapshots",
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
66 ],
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
67 size = "medium",
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
68 timeout = "moderate",
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
69 args = ["$(location //mrjunejune:mrjunejune_server)"],
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
70 )
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
71
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
72 cc_binary(
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
73 name = "create_snapshots",
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
74 srcs = ["test/create_snapshots.c"],
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
75 deps = ["//seobeo:seobeo_client"],
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
76 data = [
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
77 "//mrjunejune:mrjunejune_server",
84
bcc76a156aea Updated to be called src instead of pages.
June Park <parkjune1995@gmail.com>
parents: 83
diff changeset
78 "//mrjunejune:src_files",
67
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
79 ],
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
80 args = ["$(location //mrjunejune:mrjunejune_server)"],
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
81 )
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
82
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
83 filegroup(
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
84 name = "test_snapshots",
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
85 srcs = glob(["test/snapshots/**"]),
6626ec933933 [Seobeo] Separated out Client Server logic. Created test tools.
June Park <parkjune1995@gmail.com>
parents: 64
diff changeset
86 )