reduce friction to create environment

This commit is contained in:
Roy Storey 2017-11-29 11:11:51 +13:00
Родитель fb467aade6
Коммит 47a8cdcf1e
2 изменённых файлов: 19 добавлений и 0 удалений

Просмотреть файл

@ -23,6 +23,10 @@ Anything else - [search open issues](https://github.com/github/markup/issues) or
5. Open a [Pull Request][1]
6. Enjoy a refreshing Diet Coke and wait
**dependencies**
You can run `script/bootstrap.contrib` to fetch them all.
## Testing
To run the tests:

15
script/bootstrap.contrib Executable file
Просмотреть файл

@ -0,0 +1,15 @@
#!/bin/bash
set -e
cd $(dirname "$0")/..
bundle install --path vendor/bundle
virtualenv vendor/python && source vendor/python/bin/activate
pip install docutils
echo ""
echo "*** DONE ***"
echo ""
echo "activate python environment with 'source vendor/python/bin/activate'"
echo "run tests with 'bundle exec rake'"