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
- ./combine.sh
- ./xmlparser.sh public/chrome.xml > tmp/chrome_xml_parser_result.txt
- ./build.sh
- ./deploy.sh > /dev/null

View file

@ -101,4 +101,9 @@ xmllint --noblanks chrome.xml > chrome.min.xml
cp -rf ./chrome.xml ../public/chrome.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
#CONTENT=Element Content
echo ''
echo '-------------------------------------'
echo 'Parse XML Files ......'
echo '-------------------------------------'
#接受一个int层级参数层级从0开始
echo_tabs() {
local tabs="";