File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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]
3838digest_algorithms = SHA256
@@ -44,7 +44,7 @@ cas_address = <CLUSTER_NAME>.cluster.engflow.com
4444http_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
Original file line number Diff line number Diff line change @@ -49,11 +49,11 @@ Clone the repository and replace the relevant configs in `.buckconfig`.
4949Build the example:
5050
5151```
52- buck2 build --target-platforms //platforms:remote_platform //:cpp_lib
52+ buck2 build --remote-only //:cpp_lib
5353```
5454
5555Test the example:
5656
5757```
58- buck2 test --target-platforms //platforms:remote_platform //:cpp_test
58+ buck2 test --remote-only //:cpp_test
5959```
Original file line number Diff line number Diff line change 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]
2020digest_algorithms = SHA256
@@ -26,7 +26,7 @@ cas_address = <CLUSTER_NAME>.cluster.engflow.com
2626http_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
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ buck2 test --target-platforms //platforms:remote_platform //go/greeting:greeting
3333You 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 `
Original file line number Diff line number Diff line change 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]
2020digest_algorithms = SHA256
@@ -26,7 +26,7 @@ cas_address = <CLUSTER_NAME>.cluster.engflow.com
2626http_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
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ The `main` cell and `library` cell:
2626To 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
3232The ` hello ` cell:
@@ -36,7 +36,7 @@ The `hello` cell:
3636To 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 `
You can’t perform that action at this time.
0 commit comments