Add scripts for .travis.yml to append config options

This commit is contained in:
Scott Lahteine 2017-10-27 19:16:58 -05:00
parent 7ade65d44b
commit 50f6c645de
3 changed files with 7 additions and 1 deletions

View File

@ -204,7 +204,7 @@ script:
- opt_set_adv I2C_SLAVE_ADDRESS 63
- opt_enable_adv ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE LCD_INFO_MENU
- pins_set RAMPS X_MAX_PIN -1
- opt_set_adv Z2_MAX_PIN 2
- opt_add_adv Z2_MAX_PIN 2
- build_marlin
#
# Enable COREXY

3
buildroot/bin/opt_add Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
eval "echo \"#define ${1} ${2}\" >>Marlin/Configuration.h"

3
buildroot/bin/opt_add_adv Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
eval "echo \"#define ${1} ${2}\" >>Marlin/Configuration_adv.h"