From 1c8bc50e88804e2a7361a57cd9b551dd10f6c5fd Mon Sep 17 00:00:00 2001 From: Nicholas Ormrod Date: Thu, 11 Jul 2024 21:07:10 -0700 Subject: [PATCH] Move cli_example to folly/cli/test Summary: The following targets were moved to folly/cli/test: ``` //folly/experimental/test:nested_command_line_app_example ``` `arc f` was applied This is a codemod. It was automatically generated and will be landed once it is approved and tests are passing in sandcastle. You have been added as a reviewer by Sentinel or Butterfly. p:metclie.folly Differential Revision: D59606045 fbshipit-source-id: b676d135bd7dac14461bec44188d680fa26e8c7f --- folly/cli/test/BUCK | 11 +++++++++++ .../test/NestedCommandLineAppExample.cpp | 0 folly/experimental/test/BUCK | 12 ------------ 3 files changed, 11 insertions(+), 12 deletions(-) rename folly/{experimental => cli}/test/NestedCommandLineAppExample.cpp (100%) diff --git a/folly/cli/test/BUCK b/folly/cli/test/BUCK index 09cf3e8cd18..59955e503c3 100644 --- a/folly/cli/test/BUCK +++ b/folly/cli/test/BUCK @@ -64,3 +64,14 @@ cpp_binary( "glog", ], ) + +cpp_binary( + name = "nested_command_line_app_example", + srcs = ["NestedCommandLineAppExample.cpp"], + headers = [], + deps = [ + "//folly:scope_guard", + "//folly:string", + "//folly/cli:program_options", + ], +) diff --git a/folly/experimental/test/NestedCommandLineAppExample.cpp b/folly/cli/test/NestedCommandLineAppExample.cpp similarity index 100% rename from folly/experimental/test/NestedCommandLineAppExample.cpp rename to folly/cli/test/NestedCommandLineAppExample.cpp diff --git a/folly/experimental/test/BUCK b/folly/experimental/test/BUCK index 9fe6a77aa68..6c3bf768d51 100644 --- a/folly/experimental/test/BUCK +++ b/folly/experimental/test/BUCK @@ -1,4 +1,3 @@ -load("@fbcode_macros//build_defs:cpp_binary.bzl", "cpp_binary") load("@fbcode_macros//build_defs:cpp_library.bzl", "cpp_library") oncall("fbcode_entropy_wardens_folly") @@ -12,14 +11,3 @@ cpp_library( "//folly/compression/test:coding_test_utils", ], ) - -cpp_binary( - name = "nested_command_line_app_example", - srcs = ["NestedCommandLineAppExample.cpp"], - headers = [], - deps = [ - "//folly:scope_guard", - "//folly:string", - "//folly/cli:program_options", - ], -)