mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-28 14:49:38 +00:00
Linux builder bash script
This commit is contained in:
parent
d95689a078
commit
73ef4cd4b5
4 changed files with 38 additions and 10 deletions
|
|
@ -9,12 +9,8 @@
|
|||
"client": "cd client && npm install && npm run generate-client",
|
||||
"generate-client": "cd client && npm run generate",
|
||||
"prod": "npm run client && npm install && node prod.js",
|
||||
"build-client": "cd client && rm -rf node_modules && npm ci --unsafe-perm=true --allow-root && npm run generate",
|
||||
"build-server": "rm -rf node_modules && npm ci --unsafe-perm=true --allow-root && npm i ffmpeg-static --unsafe-perm=true --allow-root",
|
||||
"build-prep": "npm run build-client && npm run build-server",
|
||||
"build-win": "npm run build-prep && pkg -t node12-win-x64 -o ./dist/win/audiobookshelf .",
|
||||
"build-linuxarm": "npm run build-prep && pkg -t node12-linux-arm64 -o ./dist/linuxarm/audiobookshelf .",
|
||||
"build-linux": "npm run build-prep && pkg -t node12-linux-x64 -o dist/linux/audiobookshelf . && cp dist/linux/audiobookshelf build/debian/usr/share/audiobookshelf/ && chmod -R 775 build/debian/ && fakeroot dpkg-deb --build build/debian"
|
||||
"build-linux": "chmod -R 775 build && build/linuxpackager"
|
||||
},
|
||||
"bin": "prod.js",
|
||||
"pkg": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue