ci: add build.sh to travis

This commit is contained in:
SukkaW 2018-08-03 16:26:39 +08:00
parent 89598cd991
commit 85016d3d2f
3 changed files with 7 additions and 6 deletions

View file

@ -11,4 +11,5 @@ script:
- ./checker.sh - ./checker.sh
- ./combine.sh - ./combine.sh
- ./xmlparser.sh public/chrome.xml > tmp/chrome_xml_parser_result.txt - ./xmlparser.sh public/chrome.xml > tmp/chrome_xml_parser_result.txt
- ./build.sh
- ./deploy.sh > /dev/null - ./deploy.sh > /dev/null

View file

@ -102,3 +102,8 @@ cp -rf ./chrome.xml ../public/chrome.xml
cp -rf ./chrome.min.xml ../public/chrome.min.xml cp -rf ./chrome.min.xml ../public/chrome.min.xml
cd .. cd ..
echo ''
echo '-------------------------------------'
echo 'Parsing XML Files ......'
echo '-------------------------------------'

View file

@ -10,11 +10,6 @@
#ELEMENT=Element Name #ELEMENT=Element Name
#CONTENT=Element Content #CONTENT=Element Content
echo ''
echo '-------------------------------------'
echo 'Parse XML Files ......'
echo '-------------------------------------'
#接受一个int层级参数层级从0开始 #接受一个int层级参数层级从0开始
echo_tabs() { echo_tabs() {
local tabs=""; local tabs="";