diff --git a/files/check-install.sh b/files/check-install.sh index 588540b..93f70fa 100644 --- a/files/check-install.sh +++ b/files/check-install.sh @@ -33,3 +33,12 @@ go get -u github.com/ewgRa/ci-utils/utils/hunspell_parser go get -u github.com/ewgRa/ci-utils/utils/github_comments_diff go get -u github.com/ewgRa/ci-utils/utils/github_comments_send +mkdir $GOPATH/ci-scripts/check_spell +cp $DIR/check_spell.go $GOPATH/ci-scripts/check_spell/check_spell.go +go build -o /tmp/check_spell $GOPATH/ci-scripts/check_spell/check_spell.go + +mkdir $GOPATH/ci-scripts/check_links +cp $DIR/check_links.go $GOPATH/ci-scripts/check_links/check_links.go + +go build -o /tmp/check_links $GOPATH/ci-scripts/check_links/check_links.go + diff --git a/files/check.sh b/files/check.sh index d6e8ac8..64a5ecb 100644 --- a/files/check.sh +++ b/files/check.sh @@ -4,9 +4,6 @@ DIR=`dirname $0` git config --global core.quotepath false -go build -o /tmp/check_spell $DIR/check_spell.go -go build -o /tmp/check_links $DIR/check_links.go - (cat $DIR/dictionary.dic; echo) | sed '/^$/d' | wc -l > /tmp/dictionary.dic (cat $DIR/dictionary.dic; echo) | sed '/^$/d' >> /tmp/dictionary.dic