mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 04:39:03 +02:00
--HG-- rename : testing/web-platform/tests/battery-status/battery-full-manual.html => testing/web-platform/tests/FileAPI/FileReader/Progress_event_bubbles_cancelable.html rename : testing/web-platform/tests/XMLHttpRequest/send-entity-body-none.htm => testing/web-platform/tests/XMLHttpRequest/open-during-abort.htm rename : testing/web-platform/tests/DOMEvents/tests/approved/EventListener.dispatch.new.event.html => testing/web-platform/tests/dom/events/Event-dispatch-reenter.html rename : testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-novalue-MANUAL.html => testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-novalue-manual.html rename : testing/web-platform/tests/XMLHttpRequest/send-entity-body-none.htm => testing/web-platform/tests/html/semantics/interactive-elements/the-details-element/details.html rename : testing/web-platform/tests/serve => testing/web-platform/tests/serve.py rename : testing/web-platform/tests/webstorage/storage_builtins.js => testing/web-platform/tests/webstorage/builtins.html rename : testing/web-platform/tests/html/semantics/scripting-1/the-script-element/script-for-onload.html => testing/web-platform/tests/webstorage/clear.html rename : testing/web-platform/tests/battery-status/battery-promise.html => testing/web-platform/tests/webstorage/in.html rename : testing/web-platform/tests/html/semantics/scripting-1/the-script-element/script-for-event.html => testing/web-platform/tests/webstorage/indexing.html rename : testing/web-platform/tests/battery-status/battery-promise.html => testing/web-platform/tests/webstorage/length.html rename : testing/web-platform/tests/html/semantics/scripting-1/the-script-element/script-for-event.html => testing/web-platform/tests/webstorage/removeitem.html
19 lines
556 B
Python
19 lines
556 B
Python
import imp
|
|
import json
|
|
import os
|
|
import sys
|
|
|
|
here = os.path.dirname(__file__)
|
|
localpaths = imp.load_source("localpaths", os.path.abspath(os.path.join(here, os.pardir, "localpaths.py")))
|
|
|
|
root = localpaths.repo_root
|
|
|
|
import manifest
|
|
|
|
def main(request, response):
|
|
path = os.path.join(root, "MANIFEST.json")
|
|
manifest_file = manifest.manifest.load(root, path)
|
|
manifest.update.update(root, "/", manifest_file)
|
|
manifest.manifest.write(manifest_file, path)
|
|
|
|
return [("Content-Type", "application/json")], json.dumps({"url": "/MANIFEST.json"})
|