Files I've added

This still won't work, still a WIP
This commit is contained in:
David Baker
2019-12-06 18:20:31 +00:00
parent a2c5d6176f
commit 5a0c1cda22
7 changed files with 3207 additions and 0 deletions

15
scripts/check-webapp.js Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env node
const fs = require('fs').promises;
async function main() {
try {
const webappDir = await fs.opendir('webapp');
return 0;
} catch (e) {
console.log("No 'webapp' directory found. Run 'yarn run fetch' or symlink manually");
return 1;
}
}
main().then((ret) => process.exit(ret));