Skip to content

Commit

Permalink
Update travis to handle custom_bootscreen.h files
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrazio committed Jul 17, 2016
1 parent fa4274c commit 9775af0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions buildroot/bin/restore_configs
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 5 additions & 1 deletion buildroot/bin/use_example_configs
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9775af0

Please sign in to comment.