1
0
mirror of https://github.com/ru-de/faq.git synced 2024-11-23 19:02:19 +00:00

fix build

This commit is contained in:
Evgeniy Sokolov 2018-05-05 21:20:01 +02:00
parent 80ad1b4330
commit 851baa1fbf
2 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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