xcpretty-azure-formatter 0.1.4 → 0.2.0

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
  SHA256:
3
- metadata.gz: cf5a5593d5d8b06a50ee66db07366b6286b8a0b5b5ffe25cf494e8f1183052fc
4
- data.tar.gz: 6cccad3173f994407be190df0da41b7191686c28e098a6e84c7a6e9e0fa716aa
3
+ metadata.gz: e607a298aa28b7901056ae41e1815f8afcf4842ca6dd78916a7d29295793f3de
4
+ data.tar.gz: 8d954a8c7cf9b30ccac7daee2510ebf8e45767fcbf20b13227f8205f2872d8d3
5
5
  SHA512:
6
- metadata.gz: 3a2716056c6558dd98c16d0fb1fdb4f7ad29828fc6a54caf0af394a50ac31aae34283df670d121e0b384326e23999af8db5d6e26972be311f84374ace8199400
7
- data.tar.gz: 948f23ee64e041b1fd085a8a81445fe53fd07f0dca0a2f756191ec84334d0236c22f34730232875413c1c37804e2fbb7dc6289167e818657854ca4dbd43b019d
6
+ metadata.gz: fc78bfc742b6939257ac79c30977945128940949823111a806515d5c090221631a8f07f6d705c6a36b0bd2a3becc077e175d13f8ac139854b9eba5b532e41e8d
7
+ data.tar.gz: 312ce2f9434ebb81cd9809364bc33966d08518773e3d6585c021d9f5afe4424ba30be6dfe5c022c7b446151441c37f473cf86e920383bc1fc75bf07097a11fe5
data/README.md CHANGED
@@ -26,8 +26,14 @@ Simply specify the azure formatter when using `xcpretty`. Be sure to use back-ti
26
26
  ```bash
27
27
  $ xcodebuild [args] build | xcpretty -f `xcpretty-azure-formatter`
28
28
  ```
29
- This will retain the original output of xcpretty, and print the appropriate Azure Logging Commands as well.
30
- s
29
+ This will retain the original output of xcpretty, except for the following message categories which will be replaced by Azure-friendly output:
30
+ - General warnings and errors
31
+ - Compiler warnings and errors
32
+ - Linker warnings
33
+ - File Missing errors
34
+ - Undefined Symbols errors
35
+ - Duplicate Symbols errors
36
+
31
37
  ## Contributing
32
38
 
33
39
  Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/xcpretty_azure_formatter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/xcpretty_azure_formatter/blob/master/CODE_OF_CONDUCT.md).
@@ -4,42 +4,34 @@
4
4
  class AzureFormatter < XCPretty::Simple
5
5
  def format_ld_warning(message)
6
6
  _log_issue("warning", message, nil)
7
- super
8
7
  end
9
8
 
10
9
  def format_warning(message)
11
10
  _log_issue("warning", message, nil)
12
- super
13
11
  end
14
12
 
15
- def format_compile_warning(file_name, file_path, reason, line, cursor)
13
+ def format_compile_warning(_file_name, file_path, reason, _line, _cursor)
16
14
  _log_issue("warning", reason, file_path)
17
- super
18
15
  end
19
16
 
20
17
  def format_error(message)
21
18
  _log_issue("error", message, nil)
22
- super
23
19
  end
24
20
 
25
- def format_compile_error(file, file_path, reason, line, cursor)
21
+ def format_compile_error(_file, file_path, reason, _line, _cursor)
26
22
  _log_issue("error", reason, file_path)
27
- super
28
23
  end
29
24
 
30
25
  def format_file_missing_error(reason, file_path)
31
26
  _log_issue("error", reason, file_path)
32
- super
33
27
  end
34
28
 
35
- def format_undefined_symbols(message, symbol, reference)
29
+ def format_undefined_symbols(message, _symbol, _reference)
36
30
  _log_issue("error", message, nil)
37
- super
38
31
  end
39
32
 
40
- def format_duplicate_symbols(message, file_paths)
33
+ def format_duplicate_symbols(message, _file_paths)
41
34
  _log_issue("error", message, nil)
42
- super
43
35
  end
44
36
 
45
37
  def _log_issue(type, message, file)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcpretty-azure-formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lasse Porsch