mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Ran prettier
This commit is contained in:
parent
5fc5d988e6
commit
48ab150a4e
133 changed files with 13852 additions and 12549 deletions
|
|
@ -1,16 +1,12 @@
|
|||
import { compilePack } from "@foundryvtt/foundryvtt-cli";
|
||||
import { promises as fs } from "fs";
|
||||
import { compilePack } from '@foundryvtt/foundryvtt-cli';
|
||||
import { promises as fs } from 'fs';
|
||||
|
||||
const MODULE_ID = process.cwd();
|
||||
const yaml = false;
|
||||
|
||||
const packs = await fs.readdir("./src/packs");
|
||||
const packs = await fs.readdir('./src/packs');
|
||||
for (const pack of packs) {
|
||||
if (pack === ".gitattributes") continue;
|
||||
console.log("Packing " + pack);
|
||||
await compilePack(
|
||||
`${MODULE_ID}/src/packs/${pack}`,
|
||||
`${MODULE_ID}/packs/${pack}`,
|
||||
{ yaml },
|
||||
);
|
||||
if (pack === '.gitattributes') continue;
|
||||
console.log('Packing ' + pack);
|
||||
await compilePack(`${MODULE_ID}/src/packs/${pack}`, `${MODULE_ID}/packs/${pack}`, { yaml });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue