add compendium with special creature abilities
This commit is contained in:
parent
a020cb7403
commit
fe84927a28
50 changed files with 82 additions and 14 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue