Complete residential site build with Docker Compose & Gitea Actions deployment
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
import path from 'node:path';
|
||||
import { check, parseArgsAsCheckConfig } from '../dist/index.js';
|
||||
|
||||
const args = parseArgsAsCheckConfig(process.argv.slice(2));
|
||||
|
||||
console.info(`Getting diagnostics for Astro files in ${path.resolve(args.root)}...`);
|
||||
|
||||
const result = await check(args);
|
||||
|
||||
if (typeof result === 'boolean') {
|
||||
process.exit(result ? 1 : 0);
|
||||
}
|
||||
Reference in New Issue
Block a user