kodev(fix): update plugins before tests

This commit is contained in:
Qingping Hou
2016-10-01 01:07:31 -07:00
parent c716fef0e3
commit e41e489528
2 changed files with 4 additions and 1 deletions

View File

@@ -77,6 +77,7 @@ ifdef WIN32
cd $(INSTALL_DIR)/koreader && cp ../../$(WIN32_DIR)/*.dll .
endif
@echo "[*] Install plugins"
@# TODO: link istead of cp?
$(RCP) plugins/* $(INSTALL_DIR)/koreader/plugins/
@echo "[*] Installresources"
$(RCP) -pL resources/fonts/* $(INSTALL_DIR)/koreader/fonts/
@@ -105,7 +106,7 @@ testfront: $(INSTALL_DIR)/koreader/.busted
--no-auto-insulate \
-o verbose_print --exclude-tags=notest
test:
test: $(INSTALL_DIR)/koreader/.busted
$(MAKE) -C $(KOR_BASE) test
$(MAKE) testfront

2
kodev
View File

@@ -319,6 +319,8 @@ OPTIONS:
exit 1
fi
check_submodules
make
setup_env
make "${EMU_DIR}/.busted"
pushd "${EMU_DIR}"