[2.0.x] Debug Travis tests and scripts (#11704)
parent
d0c96ee83e
commit
8c11220042
@ -1,15 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#
|
|
||||||
# restore_configs
|
|
||||||
#
|
|
||||||
# Restore default configs, delete pins backup and dogm bitmaps
|
|
||||||
#
|
|
||||||
|
|
||||||
# Restore the (possibly modified) Configurations
|
cp Marlin/src/config/default/Configuration*.h Marlin
|
||||||
[ -d ".test" -a -f ".test/Configuration.h" ] && cp .test/Configuration*.h Marlin/
|
|
||||||
|
|
||||||
# Restore the original unmodified pins
|
[ -f Marlin/src/pins/pins_RAMPS.h.backup ] && cp Marlin/src/pins/pins_RAMPS.h.backup Marlin/src/pins/pins_RAMPS.h
|
||||||
[ -d ".test/pins" ] && cp -r .test/pins Marlin/src/pins/
|
rm -f Marlin/src/pins/pins_RAMPS.h.backup
|
||||||
|
|
||||||
# Delete DOGM bitmaps
|
rm -f Marlin/_Bootscreen.h
|
||||||
rm -f Marlin/_*screen.h
|
rm -f Marlin/_Statusscreen.h
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cp Marlin/Configuration*.h .test/
|
cp Marlin/Configuration*.h Marlin/src/config/default
|
||||||
|
Loading…
Reference in New Issue