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

Unified Diff: editor/tools/analyzer

Issue 12335133: Create "binaries" for calling the new analyzer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 | « no previous file | editor/tools/analyzer.bat » ('j') | editor/tools/compile_analyzer.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/analyzer
===================================================================
--- editor/tools/analyzer (revision 0)
+++ editor/tools/analyzer (revision 0)
@@ -0,0 +1,13 @@
+#!/bin/bash --posix
ahe 2013/03/11 10:14:52 Any reason for the --posix parameter?
ahe 2013/03/11 10:14:52 I don't understand why this file is not in sdk/bin
ricow1 2013/03/12 08:41:41 I don't think we are ready to ship this yet
ricow1 2013/03/12 08:41:41 removed
ahe 2013/03/12 08:47:35 Perhaps you could exclude the file in create_sdk.
+# Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
+# for details. All rights reserved. Use of this source code is governed by a
+# BSD-style license that can be found in the LICENSE file.
+
+# This file is copied to the output of the analyzer under bin/
ahe 2013/03/11 10:14:52 This is not a good overall description of this fil
ricow1 2013/03/12 08:41:41 Done.
+set -e
+
+SCRIPT_DIR="$(cd "${0%/*}" ; pwd)"
ahe 2013/03/11 10:14:52 This doesn't work with symlinks. I'd start with s
ricow1 2013/03/12 08:41:41 Done.
+JAR_DIR="$(cd "${SCRIPT_DIR%/*}" ; pwd)"
kustermann 2013/03/11 10:15:33 Add a comment here what this does and why we do it
+JAR_FILE="$JAR_DIR/new_analyzer.jar"
+
+exec java -jar $JAR_FILE
Property changes on: editor/tools/analyzer
___________________________________________________________________
Added: svn:executable
+ *
« no previous file with comments | « no previous file | editor/tools/analyzer.bat » ('j') | editor/tools/compile_analyzer.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698