Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
15
third-party/vendor/deno_ast/scripts/03_test.ts
vendored
Normal file
15
third-party/vendor/deno_ast/scripts/03_test.ts
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
import { $ } from "./deps.ts";
|
||||
import { Repos } from "./repos.ts";
|
||||
|
||||
const repos = await Repos.load();
|
||||
let hadConfirmed = false;
|
||||
|
||||
for (const crate of repos.getCrates()) {
|
||||
if (hadConfirmed || confirm(`Do you want to run tests for ${crate.name}?`)) {
|
||||
hadConfirmed = true;
|
||||
$.logStep("Running tests", `for ${crate.name}...`);
|
||||
await crate.test({ allFeatures: true });
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue