Sfoglia il codice sorgente

Install shellcheck if needed

Bob Mottram 7 anni fa
parent
commit
087115fa23
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4
    0
      src/freedombone-tests

+ 4
- 0
src/freedombone-tests Vedi File

@@ -66,6 +66,10 @@ function test_app_function_type {
66 66
 }
67 67
 
68 68
 function test_static_analysis {
69
+    if [ ! -f /usr/bin/shellcheck ]; then
70
+        apt-get -yq install shellcheck
71
+    fi
72
+
69 73
     FILES="/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-*"
70 74
 
71 75
     for filename in $FILES