mirror of
https://github.com/kennethreitz-archive/python_project.git
synced 2026-06-05 15:40:19 +00:00
22 lines
318 B
Python
22 lines
318 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
""" Example Fabfile, for project-related tasks.
|
|
"""
|
|
|
|
|
|
from fabric.api import *
|
|
|
|
|
|
|
|
def task():
|
|
"""Some random project-related task"""
|
|
|
|
print('Example task executed.')
|
|
|
|
|
|
def scrub():
|
|
"""Death to the bytecode!"""
|
|
|
|
local("rm -fr dist build")
|
|
local("find . -name \"*.pyc\" -exec rm '{}' ';'")
|