Skip to content

Commit

Permalink
Enable debug for PR builds (#1489)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelstoer authored and devsaurus committed Sep 6, 2016
1 parent b02450f commit 3109497
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/pr-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down

0 comments on commit 3109497

Please sign in to comment.