Exemplo n.º 1
0
def clean():
    """TODO: Clean the build stuff etc...
    """
    # removing compiled files
    [rm(f) for f in find("*.pyc")]
    [rm(f) for f in find("*.elc")]
    
    rm("dist")
Exemplo n.º 2
0
def clean():
    """TODO: Clean the build stuff etc...
    """
    # removing compiled files
    rm(find("*.pyc"))
    rm(find('*.elc'))
    
    if os.path.exists("dist"):
        rm("dist")
Exemplo n.º 3
0
def compile():
    """byte compile .el files
    """
    compile_el(find('*.el'), 'epy-init.el')
Exemplo n.º 4
0
 def test_find(self):
     files = list(find("*.txt", "./testdir"))
     self.assertEqual(files,['./testdir/stuff.txt', './testdir/testdir2/stuff2.txt'])