mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
HAND FIXES: Fix upstream util scripts
This commit is contained in:
committed by
Peter Johnson
parent
1e7604f81c
commit
198771dde4
@@ -10,7 +10,9 @@ def copy_upstream_src(wpilib_root: Path):
|
||||
wpiutil = wpilib_root / "wpiutil"
|
||||
|
||||
# Copy expected header into allwpilib
|
||||
dest_filename = wpiutil / "src/main/native/thirdparty/expected/include/wpi/expected"
|
||||
dest_filename = (
|
||||
wpiutil / "src/main/native/thirdparty/expected/include/wpi/util/expected"
|
||||
)
|
||||
shutil.copyfile("include/tl/expected.hpp", dest_filename)
|
||||
|
||||
# Rename namespace from tl to wpi, and detail to detail_expected
|
||||
|
||||
Reference in New Issue
Block a user