[Wasm, JS] Add script to check that a specific v8 version is available for all platforms
This commit is contained in:
+14
@@ -27,6 +27,20 @@ open class D8RootExtension(@Transient val rootProject: Project) : ConfigurationP
|
||||
var downloadBaseUrl by Property("https://storage.googleapis.com/chromium-v8/official/canary/")
|
||||
|
||||
// Latest version number could be found here https://storage.googleapis.com/chromium-v8/official/canary/v8-linux64-rel-latest.json
|
||||
// Bash script/command to check that version specified in `VER` is available for all platforms, just copy-paste and run it in terminal:
|
||||
/*
|
||||
VER=${"$(curl -s https://storage.googleapis.com/chromium-v8/official/canary/v8-linux64-rel-latest.json)":13:-2}
|
||||
echo "VER = $VER"
|
||||
echo "=================="
|
||||
for p in "mac64" "mac-arm64" "linux32" "linux64" "win32" "win64"; do
|
||||
r=$(curl -I -s -o /dev/null -w "%{http_code}" https://storage.googleapis.com/chromium-v8/official/canary/v8-$p-rel-$VER.zip)
|
||||
if [ "$r" -eq 200 ]; then
|
||||
echo "$p \t✅";
|
||||
else
|
||||
echo "$p \t❌";
|
||||
fi;
|
||||
done;
|
||||
*/
|
||||
var version by Property("10.9.194")
|
||||
var edition by Property("rel") // rel or dbg
|
||||
|
||||
|
||||
Reference in New Issue
Block a user