mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
don't build web in standalone native
This commit is contained in:
@@ -200,6 +200,7 @@ build_flags =
|
||||
;
|
||||
[env:native]
|
||||
platform = native
|
||||
extra_scripts =
|
||||
build_flags =
|
||||
-DARDUINOJSON_ENABLE_ARDUINO_STRING=1
|
||||
-DEMSESP_STANDALONE -DEMSESP_TEST
|
||||
@@ -233,11 +234,12 @@ lib_deps =
|
||||
|
||||
; unit tests
|
||||
; The code is in ./test/test_api.*
|
||||
; 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
|
||||
; then run and capture the output between "START - CUT HERE" and "END - CUT HERE" into the test_api.h file
|
||||
; 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
|
||||
; then re-run and capture the output between "START - CUT HERE" and "END - CUT HERE" into the test_api.h file
|
||||
[env:native-test]
|
||||
platform = native
|
||||
extra_scripts =
|
||||
test_build_src = true
|
||||
build_flags =
|
||||
-DARDUINOJSON_ENABLE_ARDUINO_STRING=1
|
||||
|
||||
Reference in New Issue
Block a user