Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename download-wpt.sh (.bat) to download-tests.sh (.bat) #86

Merged
merged 1 commit into from
Dec 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion init.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ REM Download dependencies
call deps/download-deps.bat

REM Download web-platform-tests
call test/download-wpt.bat
call test/download-tests.bat
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ git submodule update --init --recursive
deps/download-deps.sh

# Download web-platform-tests
test/download-wpt.sh
test/download-tests.sh
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions tools/update-wpt.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env python3
#
# Updates download-wpt.* script files with latest commit
# Update download-tests.* script files with latest commit
# hash from WPT
#
# Copyright 2023 Rimas Misevičius
# Copyright 2023-2024 Rimas Misevičius
# Distributed under the BSD-style license that can be
# found in the LICENSE file.
import json
Expand All @@ -27,5 +27,5 @@ def update_hash_in_file(file_path, eol, new_hash):
print("Latest commit hash: " + new_hash)

# Update script files with new HASH value
update_hash_in_file("test/download-wpt.bat", "\r\n", new_hash)
update_hash_in_file("test/download-wpt.sh", "\n", new_hash)
update_hash_in_file("test/download-tests.bat", "\r\n", new_hash)
update_hash_in_file("test/download-tests.sh", "\n", new_hash)