File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
subprojects/robotpy-wpiutil/wpiutil Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,14 @@ def develop(ctx: Context):
4646 project .develop ()
4747
4848
49+ @main .command ()
50+ @click .pass_obj
51+ def update_init (ctx : Context ):
52+ """Update __init__.py in all projects"""
53+ for project in ctx .subprojects .values ():
54+ project .update_init ()
55+
56+
4957@main .command ()
5058@click .pass_obj
5159def test (ctx : Context ):
Original file line number Diff line number Diff line change @@ -59,6 +59,14 @@ def develop(self):
5959 cwd = self .path ,
6060 )
6161
62+ def update_init (self ):
63+ self ._cmd (
64+ sys .executable ,
65+ "setup.py" ,
66+ "update_init" ,
67+ cwd = self .path ,
68+ )
69+
6270 def test (self , * , install_requirements = False ):
6371 tests_path = self .path / "tests"
6472 if install_requirements :
Original file line number Diff line number Diff line change 88 Sendable ,
99 SendableBuilder ,
1010 SendableRegistry ,
11+ TimestampSource ,
1112 getStackTrace ,
1213 getStackTraceDefault ,
1314)
1920 "Sendable" ,
2021 "SendableBuilder" ,
2122 "SendableRegistry" ,
23+ "TimestampSource" ,
2224 "getStackTrace" ,
2325 "getStackTraceDefault" ,
2426]
You can’t perform that action at this time.
0 commit comments