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

Unified Diff: sdk/lib/html/scripts/go.sh

Issue 11691009: Moved most of html lib generating scripts into tools. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | « sdk/lib/html/scripts/generator.py ('k') | sdk/lib/html/scripts/htmldartgenerator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/scripts/go.sh
diff --git a/sdk/lib/html/scripts/go.sh b/sdk/lib/html/scripts/go.sh
deleted file mode 100755
index deda00c299d4a16bfd79fe4e31737c3f9b8e2504..0000000000000000000000000000000000000000
--- a/sdk/lib/html/scripts/go.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/bash -x
-#
-# go.sh [--cached] [systems]
-#
-# Convenience script to generate systems. Do not call from build steps or tests
-# - call fremontcutbuilder and dartdomgenerator instead. Do not add 'real'
-# functionality here - change the python code instead.
-#
-# I find it essential to generate all the systems so I know if I am breaking
-# other systems. My habit is to run:
-#
-# ./go.sh | tee Q
-#
-# I can inspect file Q if needed.
-#
-# If I know the IDL has not changed since the last run, it is faster to run
-#
-# ./go.sh --cached
-#
-# To generate a subset of systems:
-#
-# ./go.sh dart2js,htmldart2js
-#
-# The following gives a picture of the changes due to 'work'
-#
-# git checkout master # select client without changes
-# ./go.sh
-# mv ../generated ../generated0 # save generated files
-# git checkout work # select client with changes
-# ./go.sh
-# meld ../generated0 ../generated # compare directories with too
-
-CACHED=
-if [[ "$1" == "--cached" ]] ; then
- CACHED=1
- shift
-fi
-
-ALLSYSTEMS="htmldart2js,htmldartium"
-SYSTEMS="$ALLSYSTEMS"
-
-if [[ "$1" != "" ]] ; then
- SYSTEMS="$1"
-fi
-
-if [[ $CACHED ]] ; then
- reset &&
- ./dartdomgenerator.py --use-database-cache --systems="$SYSTEMS"
-else
- reset &&
- ./dartdomgenerator.py --rebuild --parallel --systems="$SYSTEMS"
-fi
« no previous file with comments | « sdk/lib/html/scripts/generator.py ('k') | sdk/lib/html/scripts/htmldartgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698