forked from buildbot/buildbot
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dustin J. Mitchell
committed
Jun 6, 2010
1 parent
e3080dc
commit 2803e4e
Showing
11 changed files
with
20 additions
and
13,543 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,12 @@ | ||
# this is just a convenience for developers, and to automate the release | ||
# process a little bit. This Makefile is not included in the source tarball. | ||
|
||
BBBASE = $(PWD) | ||
TRIALARGS= | ||
ifdef SVN | ||
T=~/stuff/python/twisted/Twisted | ||
TRIALARGS=--reporter=verbose | ||
else | ||
T= | ||
endif | ||
ifdef T13 | ||
T=~/stuff/python/twisted/Twisted-1.3.0 | ||
TRIALARGS=-v | ||
endif | ||
PP = PYTHONPATH=$(BBBASE):$(T) | ||
|
||
.PHONY: test | ||
TRIAL=trial | ||
TEST=buildbot.test | ||
test: | ||
$(PP) $(TRIAL) $(TRIALARGS) $(TEST) | ||
|
||
test-coverage: | ||
$(PP) $(TRIAL) --reporter=bwverbose-coverage $(TEST) | ||
|
||
PYTHON=python | ||
COVERAGE_OMIT = --omit /System,/Library,/usr/lib,buildbot/test,simplejson | ||
coverage-output-text: | ||
$(PYTHON) contrib/coverage2text.py | ||
coverage-output: | ||
rm -rf coverage-html | ||
coverage html -d coverage-html $(COVERAGE_OMIT) | ||
cp .coverage coverage-html/coverage.data | ||
@echo "now point your browser at coverage-html/index.html" | ||
|
||
|
||
deb-snapshot: | ||
debchange --newversion `PYTHONPATH=. python -c "import buildbot; print buildbot.version"`.`date +%Y.%m.%d.%H.%M.%S` \ | ||
"snapshot build" | ||
debuild binary | ||
# developer utilities | ||
|
||
.PHONY: docs apidocs some-apidocs paper | ||
docs: | ||
$(MAKE) -C docs | ||
|
||
apidocs: | ||
PYTHONPATH=.:$(T) python docs/epyrun -o docs/reference | ||
some-apidocs: | ||
PYTHONPATH=.:$(T) python docs/epyrun -o docs/reference --modules $(EPYDOCS) | ||
paper: | ||
$(MAKE) -C docs/PyCon-2003 all | ||
|
||
release: docs | ||
chmod 0755 . | ||
find buildbot contrib docs -type d -exec chmod 0755 {} \; | ||
find bin buildbot contrib docs -type f -exec chmod 0644 {} \; | ||
chmod 0644 MANIFEST* NEWS README* setup.py | ||
chmod a+x bin/buildbot contrib/*.py contrib/windows/*.py | ||
rm -rf _trial_temp | ||
python ./setup.py clean | ||
rm -f MANIFEST | ||
python ./setup.py sdist --formats gztar,zip | ||
|
||
FLAKES=buildbot | ||
pyflakes: | ||
pyflakes $(FLAKES) |sort |uniq | ||
reference: | ||
cd docs; ./gen-reference | ||
|
||
pylint: | ||
pylint buildbot | ||
cd master; $(MAKE) pylint | ||
cd slave; $(MAKE) pylint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# developer utilities | ||
pylint: | ||
pylint --rcfile=../common/pylintrc buildbot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# developer utilities | ||
pylint: | ||
pylint --rcfile=../common/pylintrc buildslave |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.