separate building and linking

This commit is contained in:
Johannes Loher 2020-12-23 20:33:19 +01:00
parent 3405407745
commit 19caaa5171
2 changed files with 9 additions and 2 deletions

View file

@ -23,7 +23,7 @@ npm run build
If you'd like the built system to be automatically linked to your local Foundry
VTT installation's data folder, add a file called `foundryconfig.json` to the
project root with the following contents befor building:
project root with the following contents:
```
{
@ -33,6 +33,12 @@ project root with the following contents befor building:
}
```
Then run
```
npm run link
```
If you want the system to be continuously build upon every saved change, just
run

View file

@ -5,8 +5,9 @@
"description": "",
"scripts": {
"package": "gulp package",
"build": "gulp build && gulp link",
"build": "gulp build",
"build:watch": "gulp watch",
"link": "gulp link",
"clean": "gulp clean && gulp link --clean",
"update": "npm install --save-dev gitlab:foundry-projects/foundry-pc/foundry-pc-types",
"lint": "eslint 'src/**/*.ts' --cache",