mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-17 06:48:20 +00:00
add test-git-ignore.py, to port the 'clean' buildbot test to git
add .gitignore to match .darcs-boringfile, mostly
This commit is contained in:
14
misc/build_helpers/test-git-ignore.py
Normal file
14
misc/build_helpers/test-git-ignore.py
Normal file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys
|
||||
from subprocess import Popen, PIPE
|
||||
|
||||
cmd = ["git", "status", "--porcelain"]
|
||||
p = Popen(cmd, stdout=PIPE)
|
||||
output = p.communicate()[0]
|
||||
print output
|
||||
if output == "":
|
||||
sys.exit(0)
|
||||
sys.exit(1)
|
||||
|
||||
|
Reference in New Issue
Block a user