Update travis to handle custom_bootscreen.h files

This commit is contained in:
João Brázio 2016-07-16 13:00:43 +01:00
parent fa4274cf4c
commit 9775af0c24
2 changed files with 9 additions and 1 deletions

View file

@ -3,3 +3,7 @@
cp Marlin/Configuration.h.backup Marlin/Configuration.h
cp Marlin/Configuration_adv.h.backup Marlin/Configuration_adv.h
cp Marlin/pins_RAMPS_14.h.backup Marlin/pins_RAMPS_14.h
if [ -f Marlin/_Bootscreen.h ]; then
rm Marlin/_Bootscreen.h
fi

View file

@ -1,3 +1,7 @@
#!/usr/bin/env bash
eval "cp Marlin/example_configurations/$1/Configuration* Marlin/"
eval "cp Marlin/example_configurations/${1}/Configuration* Marlin/"
if [ -f "Marlin/example_configurations/${1}/_Bootscreen.h" ]; then
cp "Marlin/example_configurations/${1}/_Bootscreen.h" Marlin/
fi