提交 43c5a17c 编写于 作者: Y Yu Yang

Fix convert_markdown_into_ipynb script

* User could use convert tools in PATH
上级 924961ba
......@@ -19,7 +19,7 @@ before_install:
- pip install virtualenv pre-commit
- GOPATH=/tmp/go go get -u github.com/wangkuiyi/ipynb/markdown-to-ipynb
script:
- travis/precommit.sh
- PATH=/tmp/go/bin:$PATH travis/precommit.sh
notifications:
email:
on_success: change
......
#!/bin/sh
for file in $@ ; do
/tmp/go/bin/markdown-to-ipynb < $file > ${file%.*}".ipynb"
markdown-to-ipynb < $file > ${file%.*}".ipynb"
if [ $? -ne 0 ]; then
echo >&2 "markdown-to-ipynb $file error"
exit 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册