Update platform tests to use '.test' folder

This commit is contained in:
Scott Lahteine
2018-09-01 02:50:47 -05:00
parent 18f1af2dca
commit 05dc79e78d
11 changed files with 61 additions and 64 deletions

View File

@ -2,13 +2,13 @@
[ -z "$1" ] || cd $1
if [ -d ".test" ]; then
if [ -d .test ]; then
printf "\033[0;31mEnvironment backup already exists!\033[0m\n"
else
mkdir .test
cp -r Marlin/src/pins .test/pins
cp Marlin/Configuration*.h .test/
[ -f Marlin/_Bootscreen.h ] && cp Marlin/_Bootscreen.h .test/
[ -f Marlin/_Statusscreen.h ] && cp Marlin/_Statusscreen.h .test/
cp -r Marlin/src/pins .test/pins
printf "\033[0;32mEnvironment Backup created\033[0m\n"
fi