From e1deeafd9d7132475109685a90db36f513910219 Mon Sep 17 00:00:00 2001 From: Alex Landau Date: Mon, 16 Sep 2024 12:25:15 -0700 Subject: [PATCH] fboss2 cli: show environment sensor: Refactor into .h and .cpp 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 --- fboss/cli/fboss2/BUCK | 1 + 1 file changed, 1 insertion(+) diff --git a/fboss/cli/fboss2/BUCK b/fboss/cli/fboss2/BUCK index fa5e2544bf1dd..4bd85fb806335 100644 --- a/fboss/cli/fboss2/BUCK +++ b/fboss/cli/fboss2/BUCK @@ -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",