From fe65137c0541251e30960075f2a1664938e5b7ed Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Wed, 21 Mar 2018 10:50:12 +0000 Subject: [PATCH] Check app/coffee existence before compiling --- services/web/Makefile.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/Makefile.module b/services/web/Makefile.module index d330ca42ab..3a116635c4 100644 --- a/services/web/Makefile.module +++ b/services/web/Makefile.module @@ -1,7 +1,7 @@ MODULE_NAME := $(notdir $(shell pwd)) MODULE_DIR := modules/$(MODULE_NAME) COFFEE := ../../node_modules/.bin/coffee -APP_COFFEE_FILES := $(shell find app/coffee -name '*.coffee') \ +APP_COFFEE_FILES := $(shell [ -e app/coffee ] && find app/coffee -name '*.coffee') \ $(shell [ -e test/unit/coffee ] && find test/unit/coffee -name '*.coffee') \ $(shell [ -e test/acceptance/coffee ] && find test/acceptance/coffee -name '*.coffee') APP_JS_FILES := $(subst coffee,js,$(APP_COFFEE_FILES))