don't build web in standalone native

This commit is contained in:
proddy
2025-02-22 13:36:45 +01:00
parent af9ad5d624
commit 19572f313a

View File

@@ -200,6 +200,7 @@ build_flags =
; ;
[env:native] [env:native]
platform = native platform = native
extra_scripts =
build_flags = build_flags =
-DARDUINOJSON_ENABLE_ARDUINO_STRING=1 -DARDUINOJSON_ENABLE_ARDUINO_STRING=1
-DEMSESP_STANDALONE -DEMSESP_TEST -DEMSESP_STANDALONE -DEMSESP_TEST
@@ -233,11 +234,12 @@ lib_deps =
; unit tests ; unit tests
; The code is in ./test/test_api.* ; The code is in ./test/test_api.*
; to run use `pio run -e native-test -t exec`. All tests should PASS. ; to run use `pio run -e native-test -t exec`. All tests should PASS.
; to update the test results, compile with -DEMSESP_UNITY_CREATE by uncommenting the line below ; to update the test results, compile with -DEMSESP_UNITY_CREATE by uncommenting the line below
; then run and capture the output between "START - CUT HERE" and "END - CUT HERE" into the test_api.h file ; then re-run and capture the output between "START - CUT HERE" and "END - CUT HERE" into the test_api.h file
[env:native-test] [env:native-test]
platform = native platform = native
extra_scripts =
test_build_src = true test_build_src = true
build_flags = build_flags =
-DARDUINOJSON_ENABLE_ARDUINO_STRING=1 -DARDUINOJSON_ENABLE_ARDUINO_STRING=1