mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
9 lines
255 B
TypeScript
Executable file
9 lines
255 B
TypeScript
Executable file
#!/usr/bin/env -S pkgx deno run --allow-read
|
|
|
|
import { hooks } from "pkgx"
|
|
|
|
const project = Deno.args[0]
|
|
|
|
const yml = await hooks.usePantry().project(project).yaml()
|
|
const qaRequired = yml?.["test"]?.["qa-required"] === true
|
|
Deno.exit(qaRequired ? 0 : 1)
|