Skip to content

Commit 1236f4a

Browse files
committed
Admnistrivia
1 parent 1ef243a commit 1236f4a

3 files changed

Lines changed: 27 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
*.c
42
*.cpp
53
*.egg
@@ -14,6 +12,7 @@
1412
.pydevproject
1513
.settings
1614
.vscode
15+
/.cache
1716
/.python-version
1817
/Mathics3.egg-info
1918
ChangeLog

admin-tools/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.python-version

admin-tools/check-versions.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
function finish {
3+
cd $owd
4+
}
5+
6+
# FIXME put some of the below in a common routine
7+
owd=$(pwd)
8+
trap finish EXIT
9+
10+
cd $(dirname ${BASH_SOURCE[0]})
11+
if ! source ./pyenv-versions ; then
12+
exit $?
13+
fi
14+
15+
for version in $PYVERSIONS; do
16+
echo --- $version ---
17+
if ! pyenv local $version ; then
18+
exit $?
19+
fi
20+
make clean && pip install -e .
21+
if ! make check; then
22+
exit $?
23+
fi
24+
echo === $version ===
25+
done

0 commit comments

Comments
 (0)