ソースを参照

Fix module compile_full failing if module don't have app/coffee

Alasdair Smith 8 年 前
コミット
19e0aab49c
1 ファイル変更1 行追加1 行削除
  1. 1 1
      services/web/Makefile.module

+ 1 - 1
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