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

This commit is contained in:
Alasdair Smith 2018-03-26 14:15:02 +01:00
parent 47e2d8c9f9
commit 19e0aab49c

View file

@ -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