2023-12-20 22:32:56 +01:00
|
|
|
# pio run
|
|
|
|
|
|
|
|
> Voer PlatformIO project doelen uit.
|
|
|
|
> Meer informatie: <https://docs.platformio.org/en/latest/core/userguide/cmd_run.html>.
|
|
|
|
|
|
|
|
- Toon alle beschikbare project doelen:
|
|
|
|
|
|
|
|
`pio run --list-targets`
|
|
|
|
|
|
|
|
- Toon alle beschikbare project doelen voor een specifieke omgeving:
|
|
|
|
|
2025-05-31 14:07:14 +00:00
|
|
|
`pio run --list-targets {{[-e|--environment]}} {{omgeving}}`
|
2023-12-20 22:32:56 +01:00
|
|
|
|
|
|
|
- Voer alle doelen uit:
|
|
|
|
|
|
|
|
`pio run`
|
|
|
|
|
|
|
|
- Voer alle doelen uit voor de gespecificeerde omgevingen:
|
|
|
|
|
2025-05-31 14:07:14 +00:00
|
|
|
`pio run {{[-e|--environment]}} {{omgeving1}} {{[-e|--environment]}} {{omgeving2}}`
|
2023-12-20 22:32:56 +01:00
|
|
|
|
|
|
|
- Voer gespecificeerde doelen uit:
|
|
|
|
|
2025-05-31 14:07:14 +00:00
|
|
|
`pio run {{[-t|--target]}} {{doel1}} {{[-t|--target]}} {{doel2}}`
|
2023-12-20 22:32:56 +01:00
|
|
|
|
|
|
|
- Voer de doelen uit van een specifiek configuratiebestand:
|
|
|
|
|
2025-05-31 14:07:14 +00:00
|
|
|
`pio run {{[-c|--project-conf]}} {{pad/naar/platformio.ini}}`
|