From 1d195f9740bf2fbadd360f571ff9fbf411fae1c7 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sun, 5 Nov 2023 12:05:15 -0700 Subject: make clean: don't remove files in arch/dfp/ --- make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make') diff --git a/make b/make index d0d1a5d..8d3d801 100755 --- a/make +++ b/make @@ -54,8 +54,8 @@ function main() { help ;; clean) - echo 'rm -vf **/*.hex **/*~ **/*.elf **/*.o **/*.cpp' - rm -vf **/*.hex **/*~ **/*.elf **/*.o **/*.cpp + echo 'rm -vf **/*~ hex/*.hex ui/**/*.elf ui/**/*.o ui/**/*.cpp' + rm -vf **/*~ hex/*.hex ui/**/*.elf ui/**/*.o ui/**/*.cpp ;; dfp) shift -- cgit v1.2.3 From 7bf25607f1f7519b02521b941bfa4690eece44df Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sun, 5 Nov 2023 13:08:15 -0700 Subject: help CI detect build failures made 'make' and 'build-all.sh' exit with an error on fail, so CI can hopefully detect it... and added an intentional source bug to make it fail for testing purposes --- make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make') diff --git a/make b/make index 8d3d801..89e196d 100755 --- a/make +++ b/make @@ -59,7 +59,7 @@ function main() { ;; dfp) shift - ./bin/dfp-install.sh "$@" + exec ./bin/dfp-install.sh "$@" ;; docs) make-docs @@ -79,7 +79,7 @@ function main() { grep -E 'TODO:|FIXME:' **/*.[ch] ;; *) - ./bin/build-all.sh "$@" + exec ./bin/build-all.sh "$@" ;; esac } -- cgit v1.2.3