Skip to content

Commit 34f9da7

Browse files
committed
add warning
1 parent 90f0843 commit 34f9da7

File tree

8 files changed

+86
-1
lines changed

8 files changed

+86
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ __pycache__/
1111
arm_test/
1212
buck-out/
1313
buck2-bin/
14-
build/
14+
# build/
1515
cmake-android-out/
1616
cmake-ios-out/
1717
cmake-out*

build/build_android_library.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the BSD-style license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
8+
set -eu
9+
10+
current_file=$(basename "$0")
11+
echo -e "\033[31m[error] $0 has moved to:\033[0m scripts/${current_file}"
12+
exit 1

build/build_apple_frameworks.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the BSD-style license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
8+
set -eu
9+
10+
current_file=$(basename "$0")
11+
echo -e "\033[31m[error] $0 has moved to:\033[0m scripts/${current_file}"
12+
exit 1

build/build_apple_llm_demo.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the BSD-style license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
8+
set -eu
9+
10+
current_file=$(basename "$0")
11+
echo -e "\033[31m[error] $0 has moved to:\033[0m scripts/${current_file}"
12+
exit 1

build/create_frameworks.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the BSD-style license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
8+
set -eu
9+
10+
current_file=$(basename "$0")
11+
echo -e "\033[31m[error] $0 has moved to:\033[0m scripts/${current_file}"
12+
exit 1

build/print_exported_headers.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env python3
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the BSD-style license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
8+
import os
9+
import sys
10+
11+
current_file=os.path.basename(__file__)
12+
print(f"\033[31m[error] build/{current_file} has moved to:\033[0m scripts/{current_file}")
13+
sys.exit(1)

build/run_android_emulator.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the BSD-style license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
8+
set -eu
9+
10+
current_file=$(basename "$0")
11+
echo -e "\033[31m[error] $0 has moved to:\033[0m scripts/${current_file}"
12+
exit 1

build/test_ios.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the BSD-style license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
8+
set -eu
9+
10+
current_file=$(basename "$0")
11+
echo -e "\033[31m[error] $0 has moved to:\033[0m scripts/${current_file}"
12+
exit 1

0 commit comments

Comments
 (0)