From 476af3bcc2f2a072d32db0523c382af99a9d2b5b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 5 May 2020 18:20:25 +0200 Subject: Added default run option --- run | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/run b/run index 10aa8e2..c2d83df 100755 --- a/run +++ b/run @@ -224,7 +224,13 @@ elif [ "${mode}" = "tidy" ]; then elif [ "${mode}" = "font" ]; then make_font make_tidy -else +elif [ "${mode}" = "help" ]; then echo "Please use the following syntax:" + echo "The default option is 'test'" echo "./run {cross | build | clean | test | debug | image | sync | tidy | font} [-y]" +else # TODO: Prevent code duplication in build script via functions? + make_cross + make_clean + make_build + make_test fi -- cgit v1.2.3