Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(615)

Unified Diff: mojo/tools/mojob.py

Issue 996483003: Run dartanalyze on the dartzip file structure. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: most of tonyg's nits. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/tools/dart_analyze.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/mojob.py
diff --git a/mojo/tools/mojob.py b/mojo/tools/mojob.py
index 7f60900656af4c6251c0fde73c841b9bdae25b0c..fb9e1441ea52ef93b67b792814fc9d62b3e2caec 100755
--- a/mojo/tools/mojob.py
+++ b/mojo/tools/mojob.py
@@ -112,14 +112,6 @@ def build(config):
return subprocess.call(['ninja', '-C', out_dir])
-def dartcheck(config):
- """Runs the dart analyzer on code for the given config."""
-
- out_dir = _get_out_dir(config)
- print 'Checking dart code in %s ...' % out_dir
- return subprocess.call(['ninja', '-C', out_dir, 'dartcheck'])
-
-
def _run_tests(config, test_types):
"""Runs the tests of the given type(s) for the given config."""
@@ -252,10 +244,6 @@ def main():
help='Run NaCl unit tests (does not build).')
nacltest_parser.set_defaults(func=nacltest)
- dartcheck_parser = subparsers.add_parser('dartcheck', parents=[parent_parser],
- help='Run the dart source code analyzer to check for warnings.')
- dartcheck_parser.set_defaults(func=dartcheck)
-
args = parser.parse_args()
config = _args_to_config(args)
return args.func(config)
« no previous file with comments | « mojo/public/tools/dart_analyze.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698