mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-22 18:22:40 +00:00
setup: ignore _darcs in the "test-clean" test and make the "clean" step remove all .egg's in the root dir
This commit is contained in:
parent
a980ea337b
commit
4706859967
11
Makefile
11
Makefile
@ -30,9 +30,8 @@ make-version:
|
|||||||
# $(MAKE) make-version
|
# $(MAKE) make-version
|
||||||
#
|
#
|
||||||
# since that would update the embedded version string each time new darcs
|
# since that would update the embedded version string each time new darcs
|
||||||
# patches were pulled, but 1) this would break non-darcs trees (i.e. building
|
# patches were pulled, but without an obligatory 'build' step this rule
|
||||||
# from an exported tarball), and 2) without an obligatory 'build' step this
|
# wouldn't be run frequently enough anyways.
|
||||||
# rule wouldn't be run frequently enought anyways.
|
|
||||||
#
|
#
|
||||||
# So instead, I'll just make sure that we update the version at least once
|
# So instead, I'll just make sure that we update the version at least once
|
||||||
# when we first start using the tree, and again whenever an explicit
|
# when we first start using the tree, and again whenever an explicit
|
||||||
@ -236,10 +235,10 @@ test-darcs-boringfile:
|
|||||||
$(PYTHON) misc/test-darcs-boringfile.py
|
$(PYTHON) misc/test-darcs-boringfile.py
|
||||||
|
|
||||||
test-clean:
|
test-clean:
|
||||||
find . |grep -vEe "allfiles.tmp|src/allmydata/_(version|auto_deps|appname).py" |sort >allfiles.tmp.old
|
find . |grep -vEe "_darcs|allfiles.tmp|src/allmydata/_(version|auto_deps|appname).py" |sort >allfiles.tmp.old
|
||||||
$(MAKE)
|
$(MAKE)
|
||||||
$(MAKE) clean
|
$(MAKE) clean
|
||||||
find . |grep -vEe "allfiles.tmp|src/allmydata/_(version|auto_deps|appname).py" |sort >allfiles.tmp.new
|
find . |grep -vEe "_darcs|allfiles.tmp|src/allmydata/_(version|auto_deps|appname).py" |sort >allfiles.tmp.new
|
||||||
diff allfiles.tmp.old allfiles.tmp.new
|
diff allfiles.tmp.old allfiles.tmp.new
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@ -247,7 +246,7 @@ clean:
|
|||||||
rm -f `find src/allmydata -name '*.so' -or -name '*.pyc'`
|
rm -f `find src/allmydata -name '*.so' -or -name '*.pyc'`
|
||||||
rm -rf src/allmydata_tahoe.egg-info
|
rm -rf src/allmydata_tahoe.egg-info
|
||||||
rm -rf support dist
|
rm -rf support dist
|
||||||
rm -rf setuptools*.egg *.pyc darcsver*.egg pyutil*.egg
|
rm -rf *.egg *.pyc
|
||||||
rm -rf misc/dependencies/build misc/dependencies/temp
|
rm -rf misc/dependencies/build misc/dependencies/temp
|
||||||
rm -rf misc/dependencies/tahoe_deps.egg-info
|
rm -rf misc/dependencies/tahoe_deps.egg-info
|
||||||
rm -f bin/tahoe bin/tahoe-script.py
|
rm -f bin/tahoe bin/tahoe-script.py
|
||||||
|
0
src/allmydata/util/consumer.py
Executable file → Normal file
0
src/allmydata/util/consumer.py
Executable file → Normal file
Loading…
x
Reference in New Issue
Block a user