From 47d8d4c175b26f71c3c9341cb5b50910359b124c Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Wed, 3 Aug 2011 22:16:33 -0400 Subject: Added 'fab clean' command. --- fabfile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fabfile.py b/fabfile.py index cc43ac7..9680bd1 100644 --- a/fabfile.py +++ b/fabfile.py @@ -21,6 +21,10 @@ def _get_versions(): return vs confirmed_versions = _get_versions() +def clean(): + """ Clean up dir. """ + local('git clean -dfx') + def list_versions(): """ List all supported versions of Python. """ print('Supported Python versions available on this system:') -- cgit v1.2.3