Skip to content

Commit

Permalink
don't build web in standalone native
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy committed Feb 22, 2025
1 parent af9ad5d commit 19572f3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ build_flags =
;
[env:native]
platform = native
extra_scripts =
build_flags =
-DARDUINOJSON_ENABLE_ARDUINO_STRING=1
-DEMSESP_STANDALONE -DEMSESP_TEST
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 19572f3

Please sign in to comment.