From 24d6acb55ef5f43606a871b11b16693ba154ef7c Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Wed, 13 Sep 2023 08:23:33 -0700 Subject: [PATCH] Remove Codegen buck-oss scripts as they're unused (#39422) Summary: Those scripts were used when Buck OSS was invoking codegen. As we don't do Buck OSS anymore, we can remove them. Changelog: [Internal] [Changed] - Remove Codegen buck-oss scripts as they're unused Reviewed By: huntie Differential Revision: D49229846 --- .../scripts/buck-oss/combine_js_to_schema.sh | 15 --------------- .../scripts/buck-oss/generate-all.sh | 15 --------------- 2 files changed, 30 deletions(-) delete mode 100755 packages/react-native-codegen/scripts/buck-oss/combine_js_to_schema.sh delete mode 100755 packages/react-native-codegen/scripts/buck-oss/generate-all.sh diff --git a/packages/react-native-codegen/scripts/buck-oss/combine_js_to_schema.sh b/packages/react-native-codegen/scripts/buck-oss/combine_js_to_schema.sh deleted file mode 100755 index 6c837aa334d6a9..00000000000000 --- a/packages/react-native-codegen/scripts/buck-oss/combine_js_to_schema.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -# Note: To be invoked by Buck sh_binary() in OSS environment. -# DO NOT USE outside of Buck! - -set -e -set -u - -pushd "$BUCK_DEFAULT_RUNTIME_RESOURCES" >/dev/null -node "build/lib/cli/combine/combine-js-to-schema-cli.js" "$@" -popd >/dev/null diff --git a/packages/react-native-codegen/scripts/buck-oss/generate-all.sh b/packages/react-native-codegen/scripts/buck-oss/generate-all.sh deleted file mode 100755 index 9391bf80f25488..00000000000000 --- a/packages/react-native-codegen/scripts/buck-oss/generate-all.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -# Note: To be invoked by Buck sh_binary() in OSS environment. -# DO NOT USE outside of Buck! - -set -e -set -u - -pushd "$BUCK_DEFAULT_RUNTIME_RESOURCES" >/dev/null -node "build/lib/cli/generators/generate-all.js" "$@" -popd >/dev/null