benzino77 / tasmocompiler

Web GUI for custom Tasmota compilation
MIT License
511 stars 148 forks source link

Unattended/programmatic compile #377

Closed milkpirate closed 1 year ago

milkpirate commented 1 year ago

Hey,

can I compile a binary without using the web interface? Like mounting a config file into the container and start the compile via exec or just run? Is that possible?

Best regards

benzino77 commented 1 year ago

TC is not intended to use it that way... but theoretically it should be possible. Have you try to use https://github.com/tasmota/docker-tasmota? You can prepare your user_config_override.h and platformio_override.ini using TasmoCompiler (those files are available to download at the end of TC compilation) and use them with docker-tasmota (but I never use this tool).

For other possibilities have a look at official Tasmota documentation: https://tasmota.github.io/docs/Compile-your-build/

milkpirate commented 1 year ago

Oh thanks, will have a look! :+1: