Permalink
Browse files
Simplify find expression, and remove tabs
- Loading branch information...
Showing
with
6 additions
and
7 deletions.
-
+3
−3
demo/virtualenv.sh
-
+3
−4
test/lint.sh
|
|
@@ -16,16 +16,16 @@ create() { |
|
|
}
|
|
|
|
|
|
under-bash() {
|
|
|
# You can see PS1 change here.
|
|
|
bash -i <<EOF
|
|
|
# You can see PS1 change here.
|
|
|
bash -i <<EOF
|
|
|
source $DIR/bin/activate
|
|
|
echo DONE
|
|
|
EOF
|
|
|
}
|
|
|
|
|
|
# Hm there seem to be multiple things that don't work here.
|
|
|
under-osh() {
|
|
|
bin/osh -i <<EOF
|
|
|
bin/osh -i <<EOF
|
|
|
source $DIR/bin/activate
|
|
|
echo DONE
|
|
|
EOF
|
|
|
|
|
|
@@ -61,10 +61,9 @@ bin-pep8() { |
|
|
# Language independent
|
|
|
find-src() {
|
|
|
# benchmarks/testdata should be excluded
|
|
|
find . '(' -name _tmp \
|
|
|
-o -name _chroot \
|
|
|
-o -name _deps \
|
|
|
-o -name _devbuild \
|
|
|
# excluding _build, _devbuild. Although it might be OK to test generated
|
|
|
# code for tabs.
|
|
|
find . '(' -type d -a -name '_*' \
|
|
|
-o -name testdata \
|
|
|
-o -name $PY27 \
|
|
|
')' -a -prune \
|
|
|
|
0 comments on commit
8addbf5