mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
makefile tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
43f412f26e
commit
d7740bfd7a
@ -314,11 +314,10 @@ dist: test-electron-dist
|
|||||||
# - deploy only when scrip both the script AND target are available
|
# - deploy only when scrip both the script AND target are available
|
||||||
.PHONY: deploy
|
.PHONY: deploy
|
||||||
deploy: $(wildcard $(DIST_DIR)/$(APP_NAME)-*.zip) $(wildcard scripts/deploy.sh)
|
deploy: $(wildcard $(DIST_DIR)/$(APP_NAME)-*.zip) $(wildcard scripts/deploy.sh)
|
||||||
@[ -e $(DIST_DIR)/$(APP_NAME)-*.zip ] \
|
|
||||||
|| echo "Deploy error: Nothing to deploy, skipping."
|
|
||||||
@[ -e ./scripts/deploy.sh ] \
|
@[ -e ./scripts/deploy.sh ] \
|
||||||
|
&& [ -e $(DIST_DIR)/$(APP_NAME)-*.zip ] \
|
||||||
&& bash ./scripts/deploy.sh "$(DIST_DIR)/$(APP_NAME)-*.zip" \
|
&& bash ./scripts/deploy.sh "$(DIST_DIR)/$(APP_NAME)-*.zip" \
|
||||||
|| echo "Deploy error: No deploy.sh script found in ./scripts/, skipping."
|
|| echo "Deploy error: `[ -e ./scripts/deploy.sh ] && echo Distribution || echo Deploy script` not found."
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user