mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
build: Fix build break when make_docs is slow
This commit is contained in:
parent
e82218e156
commit
a0a29aec27
3 changed files with 5 additions and 4 deletions
|
@ -27,7 +27,7 @@
|
|||
"scripts": {
|
||||
"build": "webpack",
|
||||
"watch": "chokidar src scripts --initial --silent -i 'src/excmds_{background,content}.ts' -i 'src/static/docs' -c 'webpack --display errors-only'",
|
||||
"clean": "rm -rf build",
|
||||
"clean": "rm -rf build generated",
|
||||
"test": "npm run build && jest --silent",
|
||||
"update-buildsystem": "rm -rf src/node_modules; npm run clean"
|
||||
},
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/sh
|
||||
typedoc --out generated/static/docs/ src --ignoreCompilerErrors
|
||||
./scripts/commandline_injector.sh generated/static/docs/modules/_excmds_.html
|
||||
dest=generated/static/docs
|
||||
typedoc --out $dest src --ignoreCompilerErrors
|
||||
./scripts/commandline_injector.sh $dest/modules/_excmds_.html
|
||||
cp -r $dest build/static/
|
||||
|
|
|
@ -44,7 +44,6 @@ module.exports = {
|
|||
new CopyWebPackPlugin([
|
||||
{ from: "src/manifest.json" },
|
||||
{ from: "src/static", to: "static" },
|
||||
{ from: "generated/static", to: "static" },
|
||||
]),
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue