| Index: tools/dartium/print_dart_version.sh
|
| diff --git a/tools/dartium/print_dart_version.sh b/tools/dartium/print_dart_version.sh
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..273e0d5e5a6630b44f1784dfc2e078c5ad475884
|
| --- /dev/null
|
| +++ b/tools/dartium/print_dart_version.sh
|
| @@ -0,0 +1,28 @@
|
| +#!/bin/bash
|
| +
|
| +# Print svn revisions for Dartium internal repositories. The output
|
| +# is included in each Dartium archive build / release.
|
| +#
|
| +# This script is necessary because Dartium maintains its own branches
|
| +# of Chromium and WebKit. This script is for temporary use only; it
|
| +# will not be integrated back into Chromium.
|
| +
|
| +function version() {
|
| + if [ $(svnversion) == exported ]
|
| + then
|
| + # git-svn
|
| + git svn info | grep Revision | cut -c 11-
|
| + else
|
| + # svn
|
| + echo $(svnversion)
|
| + fi
|
| +}
|
| +
|
| +root_dir=$(dirname $0)/../..
|
| +pushd ${root_dir} > /dev/null
|
| +echo dartium-chromium: $(version)
|
| +cd third_party/WebKit
|
| +echo dartium-webkit: $(version)
|
| +cd ../../dart/runtime
|
| +echo dartium-runtime: $(version)
|
| +popd > /dev/null
|
|
|