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.

Makefile 530B

12345678910111213141516171819202122
  1. DESTDIR=./
  2. INSTALL_LOCATION=$(DESTDIR)/opt/pitaya
  3. ELECTRON_ARCH=x64
  4. ifeq ($(DEB_TARGET_ARCH), i386)
  5. ELECTRON_ARCH=ia32
  6. endif
  7. all: build
  8. build:
  9. apt-get install --yes --no-install-recommends curl ca-certificates
  10. curl --silent --location https://deb.nodesource.com/setup_0.12 | bash -
  11. apt-get install --yes nodejs
  12. npm install --ignore-scripts
  13. npm run clean
  14. npm run compile
  15. npm run package -- --arch=$(ELECTRON_ARCH)
  16. install:
  17. mkdir -p $(INSTALL_LOCATION)
  18. cp -r build/pitaya-linux-$(ELECTRON_ARCH)/* $(INSTALL_LOCATION)/