Eduardo Schettino wrote:
I find the doit syntax a bit cumbersome, especially as you can avoid
'args' by just returning a lamda in 'action'.
My idea was to: do *not* add any new syntax (to avoid being
cumbersome). It is just python, you dont have to import or subclass
Yeah, decorators get
On Wed, Apr 23, 2008 at 8:39 PM, Ville M. Vainio [EMAIL PROTECTED] wrote:
Yeah, decorators get around this.
Perhaps you could do:
for f in pyFiles:
@task(checker)
@depend(f)
def check():
c(pychecker %s % f)
Never underestimate the magic that is nested scopes and
Eduardo Schettino wrote:
DoIt is a build tool that focus not only on making/building things but on
executing any kind of tasks in an efficient way. Designed to be easy to use
and get out of your way.
I took a look at dolt syntax, and saw this:
QQQ
def create_folder(path):
Create folder
On 21 Apr, 16:51, Ville M. Vainio [EMAIL PROTECTED] wrote:
Wouldn't it be more convenient to provide syntax like this:
@task(create_build_folder)
@depend(dep1 some_other_dep)
def buildf():
buildFolder = jsPath + build
create_folder(buildFolder)
I'd want to make the grunt work a bit
I took a look at dolt syntax, and saw this:
QQQ
def create_folder(path):
Create folder given by path if it doesnt exist
if not os.path.exists(path):
os.mkdir(path)
return True
def task_create_build_folder():
buildFolder = jsPath + build
return
I guess I should post a link to the project in this thread...
http://python-doit.sourceforge.net/
--
http://mail.python.org/mailman/listinfo/python-list
DoIt - A task execution tool (build-tool)
=
This is the first public release of DoIt
Website: http://python-doit.sourceforge.net/
Release: DoIt 0.1.0
License: MIT
About
-
DoIt is a build tool that focus not only on making/building things but on
Eduardo Schettino wrote:
DoIt - A task execution tool (build-tool)
=
This is the first public release of DoIt
Website: http://python-doit.sourceforge.net/
Release: DoIt 0.1.0
License: MIT
About
-
DoIt is a build tool that focus not only
On Sun, Apr 20, 2008 at 2:04 AM, John Machin [EMAIL PROTECTED] wrote:
You may like to consider the possibility of confusion caused by the
similarity of some characters in some fonts (DoIt, Do1t, Dolt) ...
google(dictionary dolt) :-)
--
http://mail.python.org/mailman/listinfo/python-list