Web Inspector: update-InspectorBackendCommands.rb is putting legacy protocol files...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Mar 2014 13:31:13 +0000 (13:31 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Mar 2014 13:31:13 +0000 (13:31 +0000)
https://bugs.webkit.org/show_bug.cgi?id=129959

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-03-08
Reviewed by Timothy Hatcher.

The script was putting legacy generated files into UserInterface
instead of UserInterface/Protocol.

* Scripts/update-InspectorBackendCommands.rb:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165332 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/Scripts/update-InspectorBackendCommands.rb

index 3051109..500a273 100644 (file)
@@ -1,3 +1,15 @@
+2014-03-08  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Web Inspector: update-InspectorBackendCommands.rb is putting legacy protocol files in the wrong place
+        https://bugs.webkit.org/show_bug.cgi?id=129959
+
+        Reviewed by Timothy Hatcher.
+
+        The script was putting legacy generated files into UserInterface
+        instead of UserInterface/Protocol.
+
+        * Scripts/update-InspectorBackendCommands.rb:
+
 2014-03-07  Timothy Hatcher  <timothy@apple.com>
 
         Load source maps and their resources asynchronously.
index b6f05ec..4fa36c8 100755 (executable)
@@ -90,7 +90,7 @@ def all_tasks
   Dir.glob(File.join($versions_directory_path, "*.json")).each do |version_path|
     match = File.basename(version_path).match(/^Inspector(.*?)\-([^-]+?)\.json$/)
     if match
-      output_path = File.join $web_inspector_user_interface_path, "Legacy", match[2]
+      output_path = File.join $web_inspector_protocol_path, "Legacy", match[2]
       tasks << Task.new(version_path, nil, "Web", output_path, false)
     else
       puts "ERROR: Version file (#{version_path}) did not match the template Inspector<ANYTHING>-<VERSION>.js"