소스 검색

Update travis to handle custom_bootscreen.h files

João Brázio 8 년 전
부모
커밋
9775af0c24
2개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 4
    0
      buildroot/bin/restore_configs
  2. 5
    1
      buildroot/bin/use_example_configs

+ 4
- 0
buildroot/bin/restore_configs 파일 보기

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

+ 5
- 1
buildroot/bin/use_example_configs 파일 보기

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

Loading…
취소
저장