Lanceur d’application pour GNU/Linux
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- DESTDIR=./
- INSTALL_LOCATION=$(DESTDIR)/opt/pitaya
- ELECTRON_ARCH=x64
-
- ifeq ($(DEB_TARGET_ARCH), i386)
- ELECTRON_ARCH=ia32
- endif
-
- all: build
-
- build:
- apt-get update
- apt-get install --yes --no-install-recommends curl ca-certificates
- curl --silent --location https://deb.nodesource.com/setup_0.12 | bash -
- apt-get install --yes nodejs
- npm install --ignore-scripts
- ARCH=$(ELECTRON_ARCH) npm run build
-
- install:
- mkdir -p $(INSTALL_LOCATION)
- cp -r build/pitaya-linux-$(ELECTRON_ARCH)/* $(INSTALL_LOCATION)/
|