initial build process cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-01-31 20:53:18 +03:00
parent 6e56333d49
commit a335e1be96

View File

@ -157,9 +157,15 @@ VERSION := $(APP_VERSION)
DATE := $(strip $(shell date "+%Y%m%d%H%M")) DATE := $(strip $(shell date "+%Y%m%d%H%M"))
COMMIT := $(strip $(shell git rev-parse HEAD)) COMMIT := $(strip $(shell git rev-parse HEAD))
# do not install stuff unless the eser explicitly asks for it...
NPX := npx --no
# less... # less...
# #
LESSC := npx lessc LESSC := $(NPX) lessc
# Electron... # Electron...
@ -175,9 +181,9 @@ LESSC := npx lessc
# 2) set path and launch a child make -- not sure how to # 2) set path and launch a child make -- not sure how to
# do this... # do this...
# #
ELECTRON := npx electron ELECTRON := $(NPX) electron
ELECTRON_REBUILD := npx electron-rebuild ELECTRON_REBUILD := $(NPX) electron-rebuild
ASAR := npx asar ASAR := $(NPX) asar
ELECTRON_VERSION_FALLBACK ?= v1.8.1 ELECTRON_VERSION_FALLBACK ?= v1.8.1
ELECTRON_VERSION := $(strip $(shell \ ELECTRON_VERSION := $(strip $(shell \
$(ELECTRON) -v 2> /dev/null \ $(ELECTRON) -v 2> /dev/null \