mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
don't build web in standalone native
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user