| OLD | NEW |
| (Empty) | |
| 1 #!/bin/bash |
| 2 |
| 3 # Print svn revisions for Dartium internal repositories. The output |
| 4 # is included in each Dartium archive build / release. |
| 5 # |
| 6 # This script is necessary because Dartium maintains its own branches |
| 7 # of Chromium and WebKit. This script is for temporary use only; it |
| 8 # will not be integrated back into Chromium. |
| 9 |
| 10 function version() { |
| 11 if [ $(svnversion) == exported ] |
| 12 then |
| 13 # git-svn |
| 14 git svn info | grep Revision | cut -c 11- |
| 15 else |
| 16 # svn |
| 17 echo $(svnversion) |
| 18 fi |
| 19 } |
| 20 |
| 21 root_dir=$(dirname $0)/../.. |
| 22 pushd ${root_dir} > /dev/null |
| 23 echo dartium-chromium: $(version) |
| 24 cd third_party/WebKit |
| 25 echo dartium-webkit: $(version) |
| 26 cd ../../dart/runtime |
| 27 echo dartium-runtime: $(version) |
| 28 popd > /dev/null |
| OLD | NEW |