1
0
mirror of https://github.com/ru-de/faq.git synced 2024-11-26 04:12:18 +00:00
This commit is contained in:
Evgeniy Sokolov 2017-01-12 15:56:20 +01:00
parent 9eeccc677f
commit a0eb9628b5

View File

@ -13,7 +13,8 @@ before_install:
- go get -u github.com/peterhellberg/serve - go get -u github.com/peterhellberg/serve
- go get -u github.com/russross/blackfriday-tool - go get -u github.com/russross/blackfriday-tool
- find *.md -exec blackfriday-tool {} {}.html \; - find *.md -exec blackfriday-tool {} {}.html \;
- nohup serve -addr="0.0.0.0:80" >/dev/null 2>&1 & - cat README.md.html
- nohup serve -addr="127.0.0.1:80" >/dev/null 2>&1 &
- git diff HEAD^ --name-status | grep "^D" -v | sed 's/^.\t//g' > changed_files_links - git diff HEAD^ --name-status | grep "^D" -v | sed 's/^.\t//g' > changed_files_links
- sed -i -e 's/^/http:\/\/localhost\//' changed_files_links - sed -i -e 's/^/http:\/\/localhost\//' changed_files_links
- sed -i -e 's/$/.html/' changed_files_links - sed -i -e 's/$/.html/' changed_files_links