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

Unified Diff: dart/pkg/docgen/bin/dartdoc.py

Issue 84703004: Removed dart.gyp:upload_sdk target and tools/upload_sdk.py (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 | « dart/dart.gyp ('k') | dart/pkg/docgen/bin/upload_docgen.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/docgen/bin/dartdoc.py
diff --git a/dart/pkg/docgen/bin/dartdoc.py b/dart/pkg/docgen/bin/dartdoc.py
index c822cba29f5f4c67b2cca3fc4a42ab1d3dc8ebbf..4971e3611e71f330b0864b95ba0b700702159b63 100644
--- a/dart/pkg/docgen/bin/dartdoc.py
+++ b/dart/pkg/docgen/bin/dartdoc.py
@@ -15,7 +15,6 @@ import subprocess
import sys
sys.path.append(abspath(join(dirname(__file__), '../../../tools')))
import utils
-from upload_sdk import ExecuteCommand
DIRECTORY = abspath(dirname(__file__))
DART_DIR = dirname(dirname(dirname(DIRECTORY)))
@@ -134,15 +133,15 @@ def main():
docgen = [DART_EXECUTABLE, '--checked',
'--package-root=' + PACKAGE_ROOT, join(DIRECTORY, 'docgen.dart')]
docgen.extend(options.options.split())
- ExecuteCommand(docgen)
+ utils.ExecuteCommand(docgen)
if generate_all_docs:
GenerateAllDocs(docgen_options)
if not options.just_docs:
cwd = os.getcwd()
try:
- ExecuteCommand(['git', 'clone', '-b', 'master',
+ utils.ExecuteCommand(['git', 'clone', '-b', 'master',
'git://github.com/dart-lang/dartdoc-viewer.git'])
- ExecuteCommand(['mv', 'docs', 'dartdoc-viewer/client/local'])
+ utils.ExecuteCommand(['mv', 'docs', 'dartdoc-viewer/client/local'])
os.chdir('dartdoc-viewer/client/')
subprocess.call([PUB, 'install'])
subprocess.call([DART_EXECUTABLE, 'deploy.dart'])
« no previous file with comments | « dart/dart.gyp ('k') | dart/pkg/docgen/bin/upload_docgen.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698