Skip to content

Commit a12e83b

Browse files
committed
update this old PR
1 parent f669195 commit a12e83b

6 files changed

Lines changed: 43 additions & 43 deletions

File tree

buck2/cpp/.buckconfig

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,26 @@
1313
# limitations under the License.
1414

1515
[cells]
16-
root = .
17-
prelude = prelude
18-
toolchains = toolchains
19-
none = none
16+
root = .
17+
prelude = prelude
18+
toolchains = toolchains
19+
none = none
2020

2121
[cell_aliases]
22-
config = prelude
23-
ovr_config = prelude
24-
fbcode = none
25-
fbsource = none
26-
fbcode_macros = none
27-
buck = none
22+
config = prelude
23+
ovr_config = prelude
24+
fbcode = none
25+
fbsource = none
26+
fbcode_macros = none
27+
buck = none
2828

2929
# Uses a copy of the prelude bundled with the buck2 binary. You can alternatively delete this
3030
# section and vendor a copy of the prelude to the `prelude` directory of your project.
3131
[external_cells]
32-
prelude = bundled
32+
prelude = bundled
3333

3434
[parser]
35-
target_platform_detector_spec = target:root//...->root//platforms:remote_platform
35+
target_platform_detector_spec = target:root//...->root//platforms:remote_platform
3636

3737
[buck2]
3838
digest_algorithms = SHA256
@@ -44,7 +44,7 @@ cas_address = <CLUSTER_NAME>.cluster.engflow.com
4444
http_headers = <AUTH_HTTP_HEADERS>
4545

4646
[build]
47-
execution_platforms = root//platforms:remote_platform
47+
execution_platforms = root//platforms:remote_platform
4848

4949
[project]
50-
ignore = .git
50+
ignore = .git

buck2/cpp/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ Clone the repository and replace the relevant configs in `.buckconfig`.
4949
Build the example:
5050

5151
```
52-
buck2 build --target-platforms //platforms:remote_platform //:cpp_lib
52+
buck2 build --remote-only //:cpp_lib
5353
```
5454

5555
Test the example:
5656

5757
```
58-
buck2 test --target-platforms //platforms:remote_platform //:cpp_test
58+
buck2 test --remote-only //:cpp_test
5959
```

buck2/golang/.buckconfig

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[cells]
2-
root = .
3-
prelude = prelude
4-
toolchains = toolchains
5-
none = none
2+
root = .
3+
prelude = prelude
4+
toolchains = toolchains
5+
none = none
66

77
[cell_aliases]
8-
config = prelude
9-
fbcode = none
10-
fbsource = none
11-
buck = none
8+
config = prelude
9+
fbcode = none
10+
fbsource = none
11+
buck = none
1212

1313
[external_cells]
14-
prelude = bundled
14+
prelude = bundled
1515

1616
[parser]
17-
target_platform_detector_spec = target:root//...->root//platforms:remote_platform
17+
target_platform_detector_spec = target:root//...->root//platforms:remote_platform
1818

1919
[buck2]
2020
digest_algorithms = SHA256
@@ -26,7 +26,7 @@ cas_address = <CLUSTER_NAME>.cluster.engflow.com
2626
http_headers = <AUTH_HTTP_HEADERS>
2727

2828
[build]
29-
execution_platforms = root//platforms:remote_platform
29+
execution_platforms = root//platforms:remote_platform
3030

3131
[project]
32-
ignore = .git
32+
ignore = .git

buck2/golang/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ buck2 test --target-platforms //platforms:remote_platform //go/greeting:greeting
3333
You can also build the `main` for this sample by running:
3434

3535
```
36-
buck2 build --target-platforms //platforms:remote_platform //go:hello
36+
buck2 build --remote-only //go:hello
3737
```
3838

3939
### Relevant configs in `.buckconfig`

buck2/python/.buckconfig

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[cells]
2-
root = .
3-
prelude = prelude
4-
toolchains = toolchains
5-
none = none
2+
root = .
3+
prelude = prelude
4+
toolchains = toolchains
5+
none = none
66

77
[cell_aliases]
8-
config = prelude
9-
fbcode = none
10-
fbsource = none
11-
buck = none
8+
config = prelude
9+
fbcode = none
10+
fbsource = none
11+
buck = none
1212

1313
[external_cells]
14-
prelude = bundled
14+
prelude = bundled
1515

1616
[parser]
17-
target_platform_detector_spec = target:root//...->root//platforms:remote_platform
17+
target_platform_detector_spec = target:root//...->root//platforms:remote_platform
1818

1919
[buck2]
2020
digest_algorithms = SHA256
@@ -26,7 +26,7 @@ cas_address = <CLUSTER_NAME>.cluster.engflow.com
2626
http_headers = <AUTH_HTTP_HEADERS>
2727

2828
[build]
29-
execution_platforms = root//platforms:remote_platform
29+
execution_platforms = root//platforms:remote_platform
3030

3131
[project]
32-
ignore = .git
32+
ignore = .git

buck2/python/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The `main` cell and `library` cell:
2626
To test these cells with RE run (after setting up `.buckconfig` as indicated below):
2727

2828
```
29-
buck2 build --target-platforms //platforms:remote_platform //main:check_main
29+
buck2 build --remote-only //main:check_main
3030
```
3131

3232
The `hello` cell:
@@ -36,7 +36,7 @@ The `hello` cell:
3636
To test this cell with RE run (after setting up `.buckconfig` as indicated below):
3737

3838
```
39-
buck2 test --target-platforms //platforms:remote_platform //hello:hello_unittest_test
39+
buck2 test --remote-only //hello:hello_unittest_test
4040
```
4141

4242
### Relevant configs in `.buckconfig`

0 commit comments

Comments
 (0)