Mercurial
comparison schwab_trader/BUILD @ 220:eb8b4230fdb9
[schwab-trader] Add guarded trading experiment
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sun, 02 Aug 2026 08:52:13 -0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 214:4c725fde6999 | 220:eb8b4230fdb9 |
|---|---|
| 1 load("@rules_python//python:py_binary.bzl", "py_binary") | |
| 2 load("@rules_python//python:py_library.bzl", "py_library") | |
| 3 load("@rules_python//python:py_test.bzl", "py_test") | |
| 4 | |
| 5 py_library( | |
| 6 name = "schwab_client", | |
| 7 srcs = [ | |
| 8 "__init__.py", | |
| 9 "schwab_client.py", | |
| 10 ], | |
| 11 visibility = ["//visibility:public"], | |
| 12 ) | |
| 13 | |
| 14 py_library( | |
| 15 name = "schwab_dashboard_lib", | |
| 16 srcs = [ | |
| 17 "__init__.py", | |
| 18 "dashboard.py", | |
| 19 ], | |
| 20 deps = [":schwab_client"], | |
| 21 ) | |
| 22 | |
| 23 py_library( | |
| 24 name = "schwab_dashboard_server_lib", | |
| 25 srcs = [ | |
| 26 "__init__.py", | |
| 27 "dashboard_server.py", | |
| 28 ], | |
| 29 deps = [ | |
| 30 ":schwab_client", | |
| 31 ":schwab_dashboard_lib", | |
| 32 ], | |
| 33 ) | |
| 34 | |
| 35 py_binary( | |
| 36 name = "schwab_cli", | |
| 37 srcs = ["schwab_cli.py"], | |
| 38 main = "schwab_cli.py", | |
| 39 deps = [":schwab_client"], | |
| 40 ) | |
| 41 | |
| 42 py_binary( | |
| 43 name = "schwab_dashboard", | |
| 44 srcs = ["dashboard_server.py"], | |
| 45 main = "dashboard_server.py", | |
| 46 deps = [ | |
| 47 ":schwab_client", | |
| 48 ":schwab_dashboard_lib", | |
| 49 ], | |
| 50 ) | |
| 51 | |
| 52 py_test( | |
| 53 name = "schwab_client_test", | |
| 54 srcs = ["schwab_client_test.py"], | |
| 55 deps = [":schwab_client"], | |
| 56 ) | |
| 57 | |
| 58 py_test( | |
| 59 name = "dashboard_test", | |
| 60 srcs = ["dashboard_test.py"], | |
| 61 deps = [ | |
| 62 ":schwab_client", | |
| 63 ":schwab_dashboard_lib", | |
| 64 ":schwab_dashboard_server_lib", | |
| 65 ], | |
| 66 ) |