add compendium with special creature abilities

This commit is contained in:
Johannes Loher 2021-01-20 00:42:13 +01:00
parent a020cb7403
commit fe84927a28
50 changed files with 82 additions and 14 deletions

View file

@ -135,7 +135,7 @@ function buildSASS() {
* Copy static files
*/
async function copyFiles() {
const statics = ["lang", "fonts", "assets", "templates", "module.json", "system.json", "template.json"];
const statics = ["lang", "fonts", "assets", "templates", "packs", "module.json", "system.json", "template.json"];
try {
for (const file of statics) {
if (fs.existsSync(path.join("src", file))) {
@ -170,12 +170,13 @@ async function clean() {
const files = [];
// If the project uses TypeScript
if (fs.existsSync(path.join("src", `${name}.ts`))) {
if (fs.existsSync(path.join("src", "module", `${name}.ts`))) {
files.push(
"lang",
"templates",
"assets",
"module",
"packs",
`${name}.js`,
"module.json",
"system.json",