From 851baa1fbf94365f5fb69dc2d4ccc4deb5fd7e73 Mon Sep 17 00:00:00 2001 From: Evgeniy Sokolov Date: Sat, 5 May 2018 21:20:01 +0200 Subject: [PATCH] fix build --- files/check-install.sh | 9 +++++++++ files/check.sh | 3 --- 2 files changed, 9 insertions(+), 3 deletions(-) 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