소스 검색

Update build script

pull/569/head
davemachado 6 년 전
부모
커밋
fe01820394
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. +11
    -0
      build/main.sh

+ 11
- 0
build/main.sh 파일 보기

@@ -18,6 +18,17 @@ else
LINK_FILE=additions.txt
fi

echo "checking if /json was changed..."
egrep "\+{3}\s.\/json\/" diff.txt > json.txt
if [[$? == 0]]; then
echo "JSON files are auto-generated! Please do not update these files:"
cat json.txt
exit 1
else
echo "/json check passed!"
rm json.txt
fi

echo "running format validation..."
./validate_format.rb $FORMAT_FILE
if [[ $? != 0 ]]; then


불러오는 중...
취소
저장