Add jwack, a GNU make-like jobserver.

Theoretically compatible with GNU make's jobserver pipes.  Haven't tested
that yet.
This commit is contained in:
Avery Pennarun 2010-11-12 20:08:38 -08:00
commit f77e4b5c91
4 changed files with 162 additions and 0 deletions

View file

@ -1,6 +1,13 @@
import sys, os, errno
def atoi(v):
try:
return int(v or 0)
except ValueError:
return 0
def unlink(f):
"""Delete a file at path 'f' if it currently exists.