From 19e0aab49cc7985360a86a1abebb6548fff7bb85 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Mon, 26 Mar 2018 14:15:02 +0100 Subject: [PATCH] Fix module compile_full failing if module don't have app/coffee --- 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 008fe37a2f..00bea5f8da 100644 --- a/services/web/Makefile.module +++ b/services/web/Makefile.module @@ -48,7 +48,7 @@ compile: $(APP_JS_FILES) $(IDE_JS_FILES) $(MAIN_JS_FILES) $(IDE_TEST_JS_FILES) i @echo > /dev/null compile_full: - $(COFFEE) -o app/js -c app/coffee + if [ -e app/coffee ]; then $(COFFEE) -o app/js -c app/coffee; fi if [ -e test/unit/coffee ]; then $(COFFEE) -o test/unit/js -c test/unit/coffee; fi if [ -e test/acceptance/coffee ]; then $(COFFEE) -o test/acceptance/js -c test/acceptance/coffee; fi if [ -e public/coffee/ide/ ]; then $(COFFEE) -o ../../public/js/ide/$(MODULE_NAME) -c public/coffee/ide/; fi