You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`go tool task generate:assets` to download locally the assets of the [Arduino Bricks](https://github.com/arduino/app-bricks-py)
24
+
-`go tool task generate:assets` to download locally the assets of the [Arduino Bricks](`https://github.com/arduino/app-bricks-py`)
28
25
29
26
Start the arduino-app-cli in daemon mode:
30
27
@@ -39,11 +36,11 @@ NOTE: only a subset of HTTP APIs are working by running the daemon mode into a d
39
36
40
37
Checks and tests are set up to ensure the project content is functional and compliant with the established standards.
41
38
42
-
-`task fmt-check`
43
-
-`task lint`
44
-
-`task test`
39
+
-`go tool task fmt-check`
40
+
-`go tool task lint`
41
+
-`go tool task test`
45
42
46
-
In particular, `task test` runs the following tests
43
+
In particular, `go tool task test` runs the following tests
47
44
48
45
-`test:pkg` which exposes cross-platform api for working with the board (those should run for every platform)
49
46
-`test:internal` runs test of the internal component of the app-cli, which targets only Linux
@@ -53,17 +50,17 @@ In particular, `task test` runs the following tests
53
50
This is reccomended way to test a local development version of the arduino-app-cli into a board.
54
51
55
52
1. Connect an [Arduino UNO Q](https://docs.arduino.cc/hardware/uno-q/) board via USB.
56
-
1.`task board:install` installs the current version of Arduino App CLI on the board (`adb` is needed). The password of the `arduino` username of the board is requested.
53
+
1.`go tool task board:install` installs the current version of Arduino App CLI on the board (`adb` is needed). The password of the `arduino` username of the board is requested.
57
54
58
55
## Automatic Corrections
59
56
60
57
Tools are provided to automatically bring the project into compliance with some of the required checks.
61
58
62
-
-`task fmt`
59
+
-`go tool task fmt`
63
60
64
61
## Generate API docs
65
62
66
63
If a PR, change the HTTP API definitions, the following steps are needed:
67
64
68
65
1. Open the `cmd/gendoc/docs.go` and modify/add/remove the definitions
69
-
1. Run `task doc` to generate the docs (i.e., the files `internal/api/docs/openapi.yaml` and `internal/e2e/client/client.gen.go` are generated)
66
+
1. Run `go tool task doc` to generate the docs (i.e., the files `internal/api/docs/openapi.yaml` and `internal/e2e/client/client.gen.go` are generated)
0 commit comments