Created
April 5, 2012 08:13
-
-
Save fredgrott/2308939 to your computer and use it in GitHub Desktop.
android_lint_ant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<condition property="bash.it" value="/bin/bash" else="cmd"> | |
<and> | |
<not> | |
<os family="windows"/> | |
</not> | |
</and> | |
</condition> | |
<property name="lint.script" value="${sdk.dir}/tools/lint"/> | |
<property name="lint.report" location="${basedir}/project.docs/lintreport.html"/> | |
<property name="lint.project.loc" location="${basedir}"/> | |
<target name="-post-compile"> | |
<!-- lint --> | |
<exec executable="${bash.it}"> | |
<arg value="${lint.script}"/> | |
<arg value="--html"/> | |
<arg value="${lint.report}"/> | |
<arg value="${lint.project.loc}"/> | |
</exec> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment