Enable/disable multiple options on a single line.

This commit is contained in:
Scott Lahteine 2016-03-22 22:32:42 -07:00
parent ff272c7b69
commit 1cd1ccbf86
4 changed files with 17 additions and 24 deletions

View File

@ -63,16 +63,11 @@ script:
- build_marlin - build_marlin
# enable AUTO_BED_LEVELING with servos # enable AUTO_BED_LEVELING with servos
- restore_configs - restore_configs
- opt_enable ENABLE_AUTO_BED_LEVELING - opt_enable ENABLE_AUTO_BED_LEVELING NUM_SERVOS Z_ENDSTOP_SERVO_NR SERVO_ENDSTOP_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
- opt_enable NUM_SERVOS
- opt_enable Z_ENDSTOP_SERVO_NR
- opt_enable SERVO_ENDSTOP_ANGLES
- opt_enable DEACTIVATE_SERVOS_AFTER_MOVE
- build_marlin - build_marlin
# enable EEPROM_SETTINGS & EEPROM_CHITCHAT # enable EEPROM_SETTINGS & EEPROM_CHITCHAT
- restore_configs - restore_configs
- opt_enable EEPROM_SETTINGS - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT
- opt_enable EEPROM_CHITCHAT
- build_marlin - build_marlin
### LCDS ### ### LCDS ###
# ULTIMAKERCONTROLLER # ULTIMAKERCONTROLLER
@ -86,13 +81,11 @@ script:
#- build_marlin #- build_marlin
# REPRAP_DISCOUNT_SMART_CONTROLLER # REPRAP_DISCOUNT_SMART_CONTROLLER
- restore_configs - restore_configs
- opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT
- opt_enable SDSUPPORT
- build_marlin - build_marlin
# G3D_PANEL # G3D_PANEL
- restore_configs - restore_configs
- opt_enable G3D_PANEL - opt_enable G3D_PANEL SDSUPPORT
- opt_enable SDSUPPORT
- build_marlin - build_marlin
# REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
- restore_configs - restore_configs
@ -101,9 +94,7 @@ script:
# REPRAPWORLD_KEYPAD # REPRAPWORLD_KEYPAD
# Cant find configuration details to get it to compile # Cant find configuration details to get it to compile
#- restore_configs #- restore_configs
#- opt_enable ULTRA_LCD #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
#- opt_enable REPRAPWORLD_KEYPAD
#- opt_enable REPRAPWORLD_KEYPAD_MOVE_STEP
#- build_marlin #- build_marlin
# RA_CONTROL_PANEL # RA_CONTROL_PANEL
- restore_configs - restore_configs
@ -137,9 +128,7 @@ script:
- build_marlin - build_marlin
# Enable filament sensor with LCD display # Enable filament sensor with LCD display
- restore_configs - restore_configs
- opt_enable ULTIMAKERCONTROLLER - opt_enable ULTIMAKERCONTROLLER FILAMENT_SENSOR FILAMENT_LCD_DISPLAY
- opt_enable FILAMENT_SENSOR
- opt_enable FILAMENT_LCD_DISPLAY
- build_marlin - build_marlin
# Enable COREXY # Enable COREXY
- restore_configs - restore_configs
@ -151,8 +140,7 @@ script:
- build_marlin - build_marlin
# Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
- restore_configs - restore_configs
- opt_enable_adv Z_DUAL_STEPPER_DRIVERS - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
- opt_enable_adv Z_DUAL_ENDSTOPS
- pins_set RAMPS_14 X_MAX_PIN -1 - pins_set RAMPS_14 X_MAX_PIN -1
- opt_set_adv Z2_MAX_PIN 2 - opt_set_adv Z2_MAX_PIN 2
- build_marlin - build_marlin
@ -164,8 +152,7 @@ script:
# Delta Config (generic) + ABL + ALLEN_KEY # Delta Config (generic) + ABL + ALLEN_KEY
- use_example_configs delta/generic - use_example_configs delta/generic
- opt_disable DISABLE_MIN_ENDSTOPS - opt_disable DISABLE_MIN_ENDSTOPS
- opt_enable AUTO_BED_LEVELING_FEATURE - opt_enable AUTO_BED_LEVELING_FEATURE Z_PROBE_ALLEN_KEY
- opt_enable Z_PROBE_ALLEN_KEY
- build_marlin - build_marlin
# Delta Config (Mini Kossel) # Delta Config (Mini Kossel)
- use_example_configs delta/kossel_mini - use_example_configs delta/kossel_mini

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
eval "sed 's/\(\/\/ *\)*\(\#define *$1\)/\/\/\2/g' Marlin/Configuration.h" for opt in "$@" ; do
eval "sed -i 's/\(\/\/ *\)*\(\#define *$opt\)/\/\/\2/g' Marlin/Configuration.h"
done

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
eval "sed -i 's/\/\/ *\(#define *$1\)/\1/g' Marlin/Configuration.h" for opt in "$@" ; do
eval "sed -i 's/\/\/ *\(#define *$opt\)/\1/g' Marlin/Configuration.h"
done

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
eval "sed -i 's/\/\/ *\(#define *$1\)/\1/g' Marlin/Configuration_adv.h" for opt in "$@" ; do
eval "sed -i 's/\/\/ *\(#define *$opt\)/\1/g' Marlin/Configuration_adv.h"
done