Fichiers obligatoires package Debian

This commit is contained in:
wpetit 2015-10-20 17:17:42 +02:00
bovenliggende 73ed7ef4e2
commit 4df989270e
7 gewijzigde bestanden met toevoegingen van 19 en 7 verwijderingen

Bestand weergeven

@ -3,8 +3,9 @@
build: clean
npm run build
clean:
clean: install-deps
npm run clean
install: build
env
install-deps:
./scripts/install-build-deps.sh
npm install

9
debian/control vendored
Bestand weergeven

@ -8,7 +8,12 @@ Homepage:
Vcs-Git: https://forge.cadoles.com/wpetit/pitaya.git
Vcs-Browser: https://forge.cadoles.com/wpetit/pitaya
Package: pitaya
Architecture: any
Package: pitaya_amd64
Architecture: amd64
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Lanceur d'application pour GNU/Linux
Package: pitaya_ia32
Architecture: ia32
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Lanceur d'application pour GNU/Linux

Bestand weergeven

@ -1 +0,0 @@
build/pitaya-linux-x64 opt/pitaya

1
debian/pitaya_amd64.install vendored Normal file
Bestand weergeven

@ -0,0 +1 @@
build/pitaya-linux-x64/* opt/pitaya

1
debian/pitaya_ia32.install vendored Normal file
Bestand weergeven

@ -0,0 +1 @@
build/pitaya-linux-ia32/* opt/pitaya

Bestand weergeven

@ -15,7 +15,7 @@
"start": "./node_modules/.bin/electron .",
"compile": "./node_modules/.bin/jsx -x js src dist",
"clean": "rm -rf dist/* build/*",
"package": "./node_modules/.bin/electron-packager ./ pitaya --prune --ignore=res/ --platform=linux --arch=ia32,x64 --version=0.33.6 --out=build --overwrite --app-version 0.0.0",
"package": "./node_modules/.bin/electron-packager ./ pitaya --prune --ignore=res/ --ignore=scripts/ --ignore=debian/ --ignore=test/ --platform=linux --arch=ia32,x64 --version=0.33.6 --out=build --overwrite --app-version 0.0.0",
"build": "npm run clean && npm run compile && npm run package"
},
"dependencies": {

5
scripts/install-build-deps.sh Executable file
Bestand weergeven

@ -0,0 +1,5 @@
#!/usr/bin/env bash
apt-get install --yes --no-install-recommends curl ca-certificates || exit 1
curl --silent --location https://deb.nodesource.com/setup_4.x | bash - || exit 1
apt-get install --yes nodejs || exit 1