diff --git a/fabfile.py b/fabfile.py index a3d3557e98cc678c59a72f173a5af7daddc3be78..3980f71cbf42a011744e8dc71c6543c57c7c9739 100644 --- a/fabfile.py +++ b/fabfile.py @@ -4,6 +4,7 @@ from fabric.api import task, local, settings @task def publish(): + '''Build, publish the Debian package.''' local('git dch -R') build() for dist in ['wheezy', 'jessie', 'sid']: @@ -14,19 +15,16 @@ def publish(): @task def build(): + '''Build the Debian package.''' local('''dpkg-buildpackage -us -uc''') @task def clean(): + '''Clean auto-generated files.''' with settings(warn_only=True): local('''rm ../dcpman_*''') local('''rm -r debian/dcpman.substvars debian/dcpman.prerm.debhelper\ debian/dcpman.postinst.debhelper debian/dcpman.debhelper.log\ debian/dcpman debian/files''') local('''rm fabfile.pyc''') - - -@task -def push(): - local('''git push --all gitdaemon''')