mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
c4318ca7f1
commit
921c4d826a
@ -523,6 +523,9 @@ $(DIST_DIR)/$(APP_NAME)-$(VERSION)-web.zip: $(PACK_MINIMAL)
|
|||||||
# Electron desktop build...
|
# Electron desktop build...
|
||||||
|
|
||||||
# get the electron binary (keep this cached)...
|
# get the electron binary (keep this cached)...
|
||||||
|
.PHONY: electron-target
|
||||||
|
electron-target: $(TARGET_DIR)/$(ELECTRON_DIST)
|
||||||
|
|
||||||
.PRECIOUS: $(TARGET_DIR)/$(ELECTRON_DIST)
|
.PRECIOUS: $(TARGET_DIR)/$(ELECTRON_DIST)
|
||||||
$(TARGET_DIR)/$(ELECTRON_DIST):
|
$(TARGET_DIR)/$(ELECTRON_DIST):
|
||||||
$(MD) "$(@D)"
|
$(MD) "$(@D)"
|
||||||
@ -531,10 +534,6 @@ $(TARGET_DIR)/$(ELECTRON_DIST):
|
|||||||
-O "$@"
|
-O "$@"
|
||||||
|
|
||||||
|
|
||||||
.PHONY: electron-target
|
|
||||||
electron-target: $(TARGET_DIR)/$(ELECTRON_DIST)
|
|
||||||
|
|
||||||
|
|
||||||
# pack app.asar (electron-specific)...
|
# pack app.asar (electron-specific)...
|
||||||
.PRECIOUS: $(BUILD_DIR)/app.asar
|
.PRECIOUS: $(BUILD_DIR)/app.asar
|
||||||
# XXX do we need to track changes to pack-full or to build it only if
|
# XXX do we need to track changes to pack-full or to build it only if
|
||||||
@ -607,6 +606,9 @@ $(DIST_DIR)/$(APP_NAME)-%.zip: $(BUILD_DIR)/$(APP_NAME)-%.$(BUILD_MODE).zip
|
|||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
# NW.js...
|
# NW.js...
|
||||||
|
|
||||||
|
.PHONY: nw-target
|
||||||
|
nw-target: $(TARGET_DIR)/$(NW_DIST)
|
||||||
|
|
||||||
.PRECIOUS: $(TARGET_DIR)/$(NW_DIST)
|
.PRECIOUS: $(TARGET_DIR)/$(NW_DIST)
|
||||||
$(TARGET_DIR)/$(NW_DIST):
|
$(TARGET_DIR)/$(NW_DIST):
|
||||||
$(MD) "$(@D)"
|
$(MD) "$(@D)"
|
||||||
@ -615,10 +617,6 @@ $(TARGET_DIR)/$(NW_DIST):
|
|||||||
-O "$@"
|
-O "$@"
|
||||||
|
|
||||||
|
|
||||||
.PHONY: nw-target
|
|
||||||
nw-target: $(TARGET_DIR)/$(NW_DIST)
|
|
||||||
|
|
||||||
|
|
||||||
# NOTE: this needs a clean app dir...
|
# NOTE: this needs a clean app dir...
|
||||||
.PRECIOUS: $(BUILD_DIR)/package.nw
|
.PRECIOUS: $(BUILD_DIR)/package.nw
|
||||||
$(BUILD_DIR)/package.nw: INCLUDE_NODE_MODULES += $(INCLUDE_NW_NODE_MODULES)
|
$(BUILD_DIR)/package.nw: INCLUDE_NODE_MODULES += $(INCLUDE_NW_NODE_MODULES)
|
||||||
@ -631,6 +629,7 @@ $(BUILD_DIR)/package.nw: $$(PACK_MINIMAL)
|
|||||||
$(call zipFrom,$<,$@,*)
|
$(call zipFrom,$<,$@,*)
|
||||||
|
|
||||||
|
|
||||||
|
# XXX how do we resolve name collisions between this and electron builds???
|
||||||
# XXX things to do next:
|
# XXX things to do next:
|
||||||
# - copy rest of node_modules...
|
# - copy rest of node_modules...
|
||||||
# - pack...
|
# - pack...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user