1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add Debian configuration

This commit is contained in:
Joshua M. Boniface 2020-03-23 21:46:17 -04:00
parent 2bda5f0277
commit b5531a8187
13 changed files with 151 additions and 0 deletions

24
debian/rules vendored Executable file
View file

@ -0,0 +1,24 @@
#! /usr/bin/make -f
export DH_VERBOSE=1
%:
dh $@
# disable "make check"
override_dh_auto_test:
# disable stripping debugging symbols
override_dh_clistrip:
override_dh_auto_build:
npm install yarn
npx yarn install
npx yarn build
mv $(CURDIR)/dist $(CURDIR)/web
override_dh_auto_clean:
test -d $(CURDIR)/dist && rm -rf '$(CURDIR)/dist' || true
test -d $(CURDIR)/web && rm -rf '$(CURDIR)/web' || true
test -d $(CURDIR)/node_modules && rm -rf '$(CURDIR)/node_modules' || true
git checkout package.json
git checkout yarn.lock