fastlane-plugin-code_static_analyzer 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b73eee9d360a439b4a2555847a2a2f1bfa5f984
|
4
|
+
data.tar.gz: 3f13fb0a9515475b99d32e71430c36dabc894bf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 871f48c12638794d04e54d73730b0e336946febc32517a8f3d2d5691ddb71a3fd988852d5e91e4389633df84fc6e3edb1f8ee655cc62d633d7cb43bf279e7ab3
|
7
|
+
data.tar.gz: bab7642ad058326dfec2401c716ac8f3c4ca62554dab39a726e00b05915c78f7af656e4032731f0417f3903adf9d0a1a5a2971679aec53ef6e64ba73aa74dcb3
|
data/README.md
CHANGED
@@ -134,7 +134,7 @@ If you need to run clang_analyzer separately (for example as build step) you may
|
|
134
134
|
# minimum configuration
|
135
135
|
clang_analyzer
|
136
136
|
|
137
|
-
#
|
137
|
+
# full configuration
|
138
138
|
clang_analyzer(
|
139
139
|
autocorrect: true,
|
140
140
|
clang_dir_to_inspect: %w(Classes/UI),
|
data/lib/assets/formatter.rb
CHANGED
data/lib/assets/run_script.sh
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/bin/bash
|
1
|
+
#!/bin/bash
|
2
2
|
#!/bin/sh -e
|
3
3
|
# run_script.sh
|
4
4
|
# @desc Run shell script.
|
@@ -6,7 +6,7 @@
|
|
6
6
|
# Parameters
|
7
7
|
# $1 - shell script you want to run
|
8
8
|
# $2 - filename with extension to store command results
|
9
|
-
|
9
|
+
set -o pipefail
|
10
10
|
{
|
11
11
|
eval $1 | tee "$2"
|
12
12
|
} &> /dev/null
|
@@ -166,10 +166,10 @@ module Fastlane
|
|
166
166
|
def self.is_installed(command_name, for_analyzer)
|
167
167
|
@checked_pmd = false
|
168
168
|
begin
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
169
|
+
Actions.sh("which #{command_name}") #pmd
|
170
|
+
rescue
|
171
|
+
UI.user_error! "#{command_name} not installed. Please, install #{command_name} for using #{for_analyzer}."
|
172
|
+
end
|
173
173
|
@checked_pmd = true
|
174
174
|
end
|
175
175
|
|