Skip to content

Commit

Permalink
fboss2 cli: show environment sensor: Refactor into .h and .cpp
Browse files Browse the repository at this point in the history
Summary:
Previously, any change in the .h file caused a compilation step taking
2-3 mins. Now, every change in the .h file still takes the same 2-3 mins, but
these changes are rare. Changes to the .cpp file (much more frequent) take
30-40 sec.

Reviewed By: Scott8440

Differential Revision: D62660328

fbshipit-source-id: 61827dda83344269fdced710c28cf86a2f14b238
  • Loading branch information
Alex Landau authored and facebook-github-bot committed Sep 16, 2024
1 parent 87e5809 commit e1deeaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fboss/cli/fboss2/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ cpp_library(
"commands/show/facebook/bgp/ribpolicy/CmdShowBgpRibPolicyUtils.cpp",
"commands/show/facebook/config/CmdShowConfigUtils.cpp",
"commands/show/facebook/environment/env_keys.cpp",
"commands/show/facebook/environment/sensor/CmdShowEnvironmentSensor.cpp",
"commands/show/facebook/fsdb/CmdShowFsdbUtils.cpp",
"commands/show/route/utils.cpp",
"facebook/CmdHandlerImpl.cpp",
Expand Down

0 comments on commit e1deeaf

Please sign in to comment.