mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
tweaking the dependency checking scheme in Makefile...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
4483c1bec6
commit
648fe7f001
@ -256,14 +256,20 @@ INCLUDE_NODE_MODULES += preact
|
|||||||
INCLUDE_NW_NODE_MODULES = app-module-path
|
INCLUDE_NW_NODE_MODULES = app-module-path
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#**********************************************************************
|
||||||
# dependencies to check...
|
# dependencies to check...
|
||||||
# XXX might be a good idea to split these to sections and check only what
|
#
|
||||||
# is needed...
|
# XXX would be nice to either auto-check for these or move them to the
|
||||||
# ...like: base, electron, wix, ...
|
# respective section...
|
||||||
DEPENDENCIES = node npm wget sed printf fgrep zip unzip zipnote git \
|
#DEPENDENCIES_WIX = heat candle light
|
||||||
lessc electron electron-rebuild asar
|
DEPENDENCIES_WEB = node npm lessc
|
||||||
# WiX dependencies, windows only...
|
DEPENDENCIES_HELP = sed fgrep printf
|
||||||
#DEPENDENCIES += heat candle light
|
|
||||||
|
DEPENDENCIES = $(DEPENDENCIES_WEB) \
|
||||||
|
$(DEPENDENCIES_HELP) \
|
||||||
|
wget zip unzip zipnote git \
|
||||||
|
electron electron-rebuild asar
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -483,9 +489,16 @@ require(%):
|
|||||||
|
|
||||||
|
|
||||||
.PHONY: check
|
.PHONY: check
|
||||||
check: ## Run dependency checks
|
check: ## Run all dependency checks
|
||||||
check: $(foreach dep,$(DEPENDENCIES),require($(dep)))
|
check: $(foreach dep,$(DEPENDENCIES),require($(dep)))
|
||||||
|
|
||||||
|
.PHONY: check-web
|
||||||
|
check-web: ## Run web build dependency checks
|
||||||
|
check-web: $(foreach dep,$(DEPENDENCIES_WEB),require($(dep)))
|
||||||
|
|
||||||
|
.PHONY: check-help
|
||||||
|
check-help: ## Run build dependency checks
|
||||||
|
check-help: $(foreach dep,$(DEPENDENCIES_HELP),require($(dep)))
|
||||||
|
|
||||||
|
|
||||||
#**********************************************************************
|
#**********************************************************************
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user