summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIb Lundgren <ib.lundgren@gmail.com>2014-10-23 18:46:17 +0100
committerIb Lundgren <ib.lundgren@gmail.com>2014-10-23 18:46:17 +0100
commitc8a2e6d80ed20d02e4d66b0eb3d4bcc69f334419 (patch)
treee5520eb7f2ea40a59640815cc1495c457680ed13 /Makefile
parent48647eb093337f9db73c69d7027b6a657b20ff35 (diff)
downloadoauthlib-c8a2e6d80ed20d02e4d66b0eb3d4bcc69f334419.tar.gz
Tidy up makefile and add contacts meta data.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile39
1 files changed, 31 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 8d3b1a5..1c653d4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,21 +1,44 @@
+PYS = py27,py34,pypy
+
test:
# Test OAuthLib
- tox
+ tox -e "$(PYS)"
+ #
+ # Downstream tests (Don't be evil)
+ #
+ # Try and not break the libraries below by running their tests too.
#
- # Try and not break these libraries by running their tests too.
+ # Unfortunately there is no neat way to run downstream tests AFAIK
+ # Until we have a proper downstream testing system we will
+ # stick to this Makefile.
+ #---------------------------
+ # HOW TO ADD NEW DOWNSTREAM LIBRARIES
#
- # Flask-OAuthLib
+ # Please specify your library as well as primary contacts.
+ # Since these contacts will be addressed with Github mentions they
+ # need to be Github users (for now)(sorry Bitbucket).
+ #
+ #---------------------------
+ # Library: lepture/flask-oauthLib
+ # Contacts: lepture,widnyana
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
+ cd flask-oauthlib && cp ../tox.ini . && sed -i 's/py32,py33,py34,//' tox.ini && sed -i '/mock/a \ Flask-SQLAlchemy' tox.ini && tox -e "$(PYS)"
rm -rf flask-oauthlib
- # Django-OAuth-Toolkit (has tox.ini already)
+ #---------------------------
+ # Library: evonove/django-oauth-toolkit
+ # Contacts: lepture,masci
+ # (note: has tox.ini already)
git clone https://github.com/evonove/django-oauth-toolkit.git
- cd django-oauth-toolkit && tox
+ cd django-oauth-toolkit && tox -e "$(PYS)"
rm -rf django-oauth-toolkit
- # Requests-OAuthLib
+ #---------------------------
+ # Library requests/requests-oauthlib
+ # Contacts: ib-lundgren,lukasa
git clone https://github.com/requests/requests-oauthlib.git
- cd requests-oauthlib && cp ../tox.ini . && sed -i '/mock/a \ requests' tox.ini && tox
+ cd requests-oauthlib && cp ../tox.ini . && sed -i '/mock/a \ requests' tox.ini && tox -e "$(PYS)"
rm -rf requests-oauthlib
+ #---------------------------
+ #
pycco:
find oauthlib -name "*.py" -exec pycco -p -s reST {} \;