chore: correct scripts

This commit is contained in:
Matthieu CAILLEAUX
2021-10-13 00:08:17 +02:00
parent 7dfec9220e
commit 137ae09586
5 changed files with 10 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ build:
- cp styles/* dist/styles/
- cp module.json dist
- cd dist
- zip wfrp4e-actor-sheet-print.zip -r *.* lang styles -x ".*"
- zip wfrp4e-actor-sheet-print.zip -r *.* src lang styles -x ".*"
artifacts:
name: wfrp4e-actor-sheet-print
when: on_success
@@ -40,7 +40,7 @@ build_beta:
- cp styles/* dist/styles/
- cp module-beta.json dist/module.json
- cd dist
- zip wfrp4e-actor-sheet-print.zip -r *.* lang styles -x ".*"
- zip wfrp4e-actor-sheet-print.zip -r *.* src lang styles -x ".*"
artifacts:
name: wfrp4e-actor-sheet-print
when: on_success

View File

@@ -8,6 +8,7 @@
"author": "Skeroujvapluvit",
"systems": ["wfrp4e"],
"dependencies": [],
"esmodules": ["main.js"],
"languages": [
{
"lang": "en",

View File

@@ -8,6 +8,7 @@
"author": "Skeroujvapluvit",
"systems": ["wfrp4e"],
"dependencies": [],
"esmodules": ["main.js"],
"languages": [
{
"lang": "en",

View File

@@ -2,5 +2,5 @@ npm run build
mkdir -p ./dist/lang
mkdir -p ./dist/styles
cp ./lang/* ./dist/lang/
cp ./src/styles/* ./dist/styles/
cp ./styles/* ./dist/styles/
cp module.json ./dist/module.json

5
src/main.ts Normal file
View File

@@ -0,0 +1,5 @@
//ActorSheet
Hooks.on('renderActorSheet', (_app: ActorSheet, _html: JQuery) => {
console.dir(_app);
});