Added --verify-only option to qmlmin.
authorRoberto Raggi <roberto.raggi@nokia.com>
Tue, 13 Sep 2011 13:49:11 +0000 (15:49 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 19 Sep 2011 10:07:46 +0000 (12:07 +0200)
commit10788a8d302f10cbf11921d47612c2a80b1cedac
treead6e556ce0a4531e6485cfe9f075b64c09a9daaa
parent9fa9a56e19f58934ec278c5af3ec5ee23d496659
Added --verify-only option to qmlmin.

qmlmin has three different stages. In the first stage
it generates the QML/JS minified code. In the second
stage we verify that minified code is equivalent
to the original code and in the final stage we
produce the output. With --verify-only you can tell
qmlmin to quit after the verification step.

Note that this option is pretty much equivalent to
the unix command qmlmin file.qml -o /dev/null.

Change-Id: I91373bc1c1db8c35af2e301ad13d7b34fc384529
Reviewed-on: http://codereview.qt-project.org/4670
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
tools/qmlmin/main.cpp