check
import { check } from "https://garn.io/ts/v0.0.19/mod.ts";
Creates a new shell script Check
, run in the emptyEnvironment
.
Example:
// Will fail if any `TODO`s are found in the build artifacts of myPkg:
garn.check`! grep -r TODO ${myPkg}`;
function check(s: TemplateStringsArray | string, ...args: Array<NixStrLitInterpolatable>);