forked from oauthlib/oauthlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
24 lines (22 loc) · 819 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
test:
# Test OAuthLib
tox
#
# Try and not break these libraries by running their tests too.
#
# Flask-OAuthLib
git clone https://github.com/lepture/flask-oauthlib.git
cd flask-oauthlib && cp ../tox.ini . && sed -i 's/py32,py33,py34,//' tox.ini && sed -i '/mock/a \ Flask-SQLAlchemy' tox.ini && tox
rm -rf flask-oauthlib
# Django-OAuth-Toolkit (has tox.ini already)
git clone https://github.com/evonove/django-oauth-toolkit.git
cd django-oauth-toolkit && tox
rm -rf django-oauth-toolkit
# Requests-OAuthLib
git clone https://github.com/requests/requests-oauthlib.git
cd requests-oauthlib && cp ../tox.ini . && sed -i '/mock/a \ requests' tox.ini && tox
rm -rf requests-oauthlib
pycco:
find oauthlib -name "*.py" -exec pycco -p -s reST {} \;
pycco-clean:
rm -rf docs/oauthlib docs/pycco.css