Skip to content

Commit a64e59e

Browse files
author
Ryuichi Saito
committed
Merge pull request #17 from ryuichis/master
Update doc for 0.10.2 release
2 parents 36e8972 + 54303db commit a64e59e

13 files changed

+24
-16
lines changed

_static/guide/xcode_screenshot_1.png

-118 KB
Loading

_static/guide/xcode_screenshot_2.png

-164 KB
Loading

_static/guide/xcode_screenshot_3.png

-73.4 KB
Loading

_static/guide/xcode_screenshot_4.png

-52.7 KB
Loading

_static/guide/xcode_screenshot_5.png

-14.5 KB
Binary file not shown.

_static/guide/xcode_screenshot_6.png

-7.55 KB
Loading

_static/guide/xcode_screenshot_7.png

-452 KB
Binary file not shown.

_static/guide/xcode_screenshot_8.png

61.7 KB
Loading

conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
# The short X.Y version.
5151
version = '0.10'
5252
# The full version, including alpha/beta/rc tags.
53-
release = '0.10.1'
53+
release = '0.10.2'
5454

5555
# The language for content autogenerated by Sphinx. Refer to documentation
5656
# for a list of supported languages.

guide/xcode.rst

+7-4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ or
1414

1515
* `Using OCLint with xctool <xctool.html>`_
1616

17+
or
18+
19+
* `Using OCLint with xcpretty <xcpretty.html>`_
20+
1721
Background
1822
----------
1923

@@ -36,7 +40,9 @@ Setting up Target
3640

3741
* In the script editor, we could enter the script which does the real work. We can also modify the script from this very `generic version <https://gist.github.com/gavrix/5054182>`_ and `its folks <https://gist.github.com/gavrix/5054182/forks>`_. We may need to change the ``xcodebuild`` options to use a particular scheme or target. In addition, based on the `discussions <xcodebuild.html#discussions>`_ we had, we can decide whether to use ``clean`` and ``dry run`` features.
3842

39-
* For ``xctool`` users, the script can be largely simplified to something like `this <https://gist.github.com/lqi/5705477>`_
43+
* For ``xctool`` users, the script can be largely simplified to something like `this <https://gist.github.com/lqi/5705477>`_.
44+
45+
* For ``xcpretty`` users, the script is also much simplier, check it out from `this gist <https://gist.github.com/ryuichis/755e6297aec13c900cdf>`_.
4046

4147
.. image:: ../_static/guide/xcode_screenshot_4.png
4248

@@ -48,9 +54,6 @@ Running Analysis
4854
.. image:: ../_static/guide/xcode_screenshot_6.png
4955

5056
* Click to build, or use the shortcut ``Command+B``.
51-
52-
.. image:: ../_static/guide/xcode_screenshot_7.png
53-
5457
* When the progress bar scrolls to the very right, the analysis is done, then we can check out the analysis results same as compile warnings.
5558

5659
.. image:: ../_static/guide/xcode_screenshot_8.png

guide/xcpretty.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Running ``xcpretty`` is quite straight forward. For example, the command below w
1717

1818
.. code-block:: bash
1919
20-
xcodebuild [flags] | xcpretty
20+
xcodebuild [flags] | xcpretty -r json-compilation-database
2121
2222
If you want to preserve the raw xcodebuild output, then you can do
2323

2424
.. code-block:: bash
2525
26-
xcodebuild [flags] | tee xcodebuild.log | xcpretty
26+
xcodebuild [flags] | tee xcodebuild.log | xcpretty -r json-compilation-database
2727
2828
Running oclint-json-compilation-database
2929
----------------------------------------

howto/selectreporters.rst

+13-9
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,13 @@ XML Report (xml)
4444

4545
XML reporter produces an XML report of the results.
4646

47-
.. note::
48-
49-
This XML format is still being refined and is subject to change.
50-
5147
`Sample XML report <../_static/sample-reports/sample.xml>`_
5248

5349
JSON Reporter (json)
5450
^^^^^^^^^^^^^^^^^^^^
5551

5652
JSON reporter produces an JSON report of the results.
5753

58-
.. note::
59-
60-
This JSON format is still being refined and is subject to change.
61-
6254
`Sample JSON report <../_static/sample-reports/sample.json>`_
6355

6456
PMD Reporter (pmd)
@@ -68,6 +60,18 @@ Since `PMD <http://pmd.sourceforge.net/>`_ report is supported by many existing
6860

6961
`Sample PMD report <../_static/sample-reports/sample-pmd.xml>`_
7062

63+
Xcode Reporter (xcode)
64+
^^^^^^^^^^^^^^^^^^^^^^
65+
66+
Xcode reporter can be used inside Xcode IDE.
67+
68+
.. seealso::
69+
Read `this document <../guide/xcode.html>`_ for using OCLint in Xcode.
70+
71+
72+
Details of using OCLint
73+
74+
7175
Configuration File
7276
------------------
7377

@@ -78,6 +82,6 @@ When a type of reporter is selected by the entire team, it's recommended to save
7882

7983

8084
.. seealso::
81-
85+
8286
`Write Own Reporters <../devel/reporters.html>`_
8387
Documentation of writing own reporters to extend OCLint with more capabilities.

index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Usage
2121
* `Bear <guide/bear.html>`_
2222
* `xctool <guide/xctool.html>`_
2323
* `xcodebuild <guide/xcodebuild.html>`_
24+
* `xcpretty <guide/xcpretty>`_
2425
* `Xcode IDE <guide/xcode.html>`_
2526
* `Jenkins CI <guide/jenkins.html>`_
2627

0 commit comments

Comments
 (0)