mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-30 21:12:55 +08:00
Enable debug for PR builds (#1489)
This commit is contained in:
parent
b02450f5e0
commit
3109497b33
@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
echo "Running PR build (all modules, SSL disabled)"
|
||||
echo "Running PR build (all modules, SSL enabled, debug enabled)"
|
||||
(
|
||||
cd "$TRAVIS_BUILD_DIR"/app/include || exit
|
||||
# uncomment disabled modules e.g. '//#define LUA_USE_MODULES_UCG' -> '#define LUA_USE_MODULES_UCG'
|
||||
@ -12,6 +12,9 @@ cat user_modules.h
|
||||
# enable SSL
|
||||
sed -i.bak 's@//#define CLIENT_SSL_ENABLE@#define CLIENT_SSL_ENABLE@' user_config.h
|
||||
|
||||
# enable debug
|
||||
sed -E -i.bak 's@// ?#define DEVELOP_VERSION@#define DEVELOP_VERSION@' user_config.h
|
||||
|
||||
# enable FATFS
|
||||
sed -i 's@//#define BUILD_FATFS@#define BUILD_FATFS@' user_config.h
|
||||
cat user_config.h
|
||||
|
Loading…
x
Reference in New Issue
Block a user