Skip to content

Commit b894730

Browse files
committed
Internalized 'client_example'
1 parent b26028b commit b894730

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

.github/workflows/check-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ jobs:
236236
matrix:
237237
module:
238238
- path: internal/arduino/discovery/discovery_client
239-
- path: client_example
239+
- path: rpc/internal/client_example
240240
- path: commands/daemon/term_example
241241

242242
steps:

.gitignore

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ __debug_bin*
1818
.vscode
1919

2020
# gRPC client example folder
21-
/client_example/client_example
22-
/client_example/**/*.bin
23-
/client_example/**/*.elf
21+
/rpc/internal/client_example/client_example
22+
/rpc/internal/client_example/**/*.bin
23+
/rpc/internal/client_example/**/*.elf
2424

2525
# Misc.
2626
.DS_Store

Taskfile.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -301,24 +301,24 @@ tasks:
301301
i18n:update:
302302
desc: Updates i18n files
303303
cmds:
304-
- go run ./i18n/cmd/main.go catalog generate . > ./i18n/data/en.po
304+
- go run ./internal/i18n/cmd/main.go catalog generate . > ./internal/i18n/data/en.po
305305

306306
i18n:pull:
307307
desc: Pull i18n files from transifex
308308
cmds:
309-
- go run ./i18n/cmd/main.go transifex pull ./i18n/data
309+
- go run ./internal/i18n/cmd/main.go transifex pull ./internal/i18n/data
310310

311311
i18n:push:
312312
desc: Push i18n files to transifex
313313
cmds:
314-
- go run ./i18n/cmd/main.go transifex push ./i18n/data
314+
- go run ./internal/i18n/cmd/main.go transifex push ./internal/i18n/data
315315

316316
i18n:check:
317317
desc: Check if the i18n message catalog was updated
318318
cmds:
319319
- task: i18n:pull
320-
- git add -N ./i18n/data
321-
- git diff --exit-code ./i18n/data
320+
- git add -N ./internal/i18n/data
321+
- git diff --exit-code ./internal/i18n/data
322322

323323
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-mkdocs-task/Taskfile.yml
324324
website:check:

docs/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,6 @@ metrics:
349349
```
350350

351351
[configuration documentation]: configuration.md
352-
[client_example]: https://github.com/arduino/arduino-cli/blob/master/client_example
352+
[client_example]: https://github.com/arduino/arduino-cli/blob/master/rpc/internal/client_example
353353
[grpc reference]: rpc/commands.md
354354
[prometheus]: https://prometheus.io/

docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ services and messages are detailed in the [gRPC reference] pages.
1919

2020
[installation]: installation.md
2121
[getting started guide]: getting-started.md
22-
[client_example]: https://github.com/arduino/arduino-cli/blob/master/client_example
22+
[client_example]: https://github.com/arduino/arduino-cli/blob/master/rpc/internal/client_example
2323
[grpc reference]: rpc/commands.md

docs/integration-options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ tracker] if you’ve got a use case that doesn’t fit one of the three pillars.
102102
[grpc interface reference]: rpc/commands.md
103103
[grpc supported languages]: https://grpc.io/docs/languages/
104104
[arduino cli repository]: https://github.com/arduino/arduino-cli
105-
[grpc client example]: https://github.com/arduino/arduino-cli/blob/master/client_example
105+
[grpc client example]: https://github.com/arduino/arduino-cli/blob/master/rpc/internal/client_example
106106
[commands package]: https://github.com/arduino/arduino-cli/tree/master/commands
107107
[issue tracker]: https://github.com/arduino/arduino-cli/issues
108108
[contextual help screenshot]: img/CLI_contextual_help_screenshot.png
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)