File tree Expand file tree Collapse file tree 6 files changed +65
-9
lines changed
Expand file tree Collapse file tree 6 files changed +65
-9
lines changed Original file line number Diff line number Diff line change 55# well as importing into Python. That's why there is no
66# space around "=" below.
77# fmt: off
8- __version__ = "3.1.0 " # noqa
8+ __version__ = "3.1.1.dev0 " # noqa
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ set -e
3+ if [ -n " $DEBUG " ]; then
4+ set -x
5+ fi
6+
27DOCKER=${DOCKER:- docker}
38
49TAG=${TAG:- latest}
510MATHICS_IMAGE=${MATHICS_IMAGE:- mathicsorg/ mathics: ${TAG} }
611
12+ for arg in " $@ " ; do
13+ case " $arg " in
14+ -u | -U | --upgrade | upgrade)
15+ $DOCKER pull $MATHICS_IMAGE
16+ exit $?
17+ ;;
18+ esac
19+ done
20+
721$DOCKER run --rm -it --name mathics-cli -v /tmp:/usr/src/app/data $MATHICS_IMAGE --mode mathics -- $@
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ set -e
23if [ -n " $DEBUG " ]; then
34 set -x
45fi
@@ -9,6 +10,15 @@ DOCKER=${DOCKER:-docker}
910TAG=${TAG:- latest}
1011MATHICS_IMAGE=${MATHICS_IMAGE:- mathicsorg/ mathics: ${TAG} }
1112
13+ for arg in $@ ; do
14+ case " $arg " in
15+ -u | --upgrade | upgrade)
16+ $DOCKER pull $MATHICS_IMAGE
17+ exit $?
18+ ;;
19+ esac
20+ done
21+
1222$DOCKER run -it \
1323 --name mathics-doc \
1424 --rm \
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ set -e
23if [ -n " $DEBUG " ]; then
34 set -x
45fi
@@ -9,6 +10,15 @@ DOCKER=${DOCKER:-docker}
910TAG=${TAG:- latest}
1011MATHICS_IMAGE=${MATHICS_IMAGE:- mathicsorg/ mathics: ${TAG} }
1112
13+ for arg in " $@ " ; do
14+ case " $arg " in
15+ -u | -U | --upgrade | upgrade)
16+ $DOCKER pull $MATHICS_IMAGE
17+ exit $?
18+ ;;
19+ esac
20+ done
21+
1222$DOCKER run -it \
1323 --name mathics-copy \
1424 --rm \
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ set -e
23if [ -n " $DEBUG " ]; then
34 set -x
45fi
56
7+ # Allow customization using POSIX environment variables:
8+ DOCKER=${DOCKER:- docker}
9+ TAG=${TAG:- latest}
10+
11+ MATHICS_IMAGE=${MATHICS_IMAGE:- mathicsorg/ mathics: ${TAG} }
12+
13+ for arg in $@ ; do
14+ case " $arg " in
15+ -u | --upgrade | upgrade)
16+ $DOCKER pull $MATHICS_IMAGE
17+ exit $?
18+ ;;
19+ esac
20+ done
21+
622cd $( dirname ${BASH_SOURCE[0]} )
723source ./term-background.sh
824
1834fi
1935
2036
21- DOCKER=${DOCKER:- docker}
2237XAUTH=${XAUTH:- $HOME / .Xauthority}
2338touch $XAUTH
2439
25- TAG=${TAG:- latest}
26- MATHICS_IMAGE=${MATHICS_IMAGE:- mathicsorg/ mathics: ${TAG} }
27-
2840DEVICE=' '
2941if [[ -r /dev/dri ]]; then
3042 DEVICE=' --device=/dev/dri:/dev/dri'
3143fi
3244
33- $DOCKER run -it \
45+ $DOCKER run \
3446 --rm \
3547 --env " DISPLAY=$DISPLAY " \
3648 --name mathics-cli \
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ set -e
23if [ -n " $DEBUG " ]; then
34 set -x
45fi
56
7+ TAG=${TAG:- latest}
8+ MATHICS_IMAGE=${MATHICS_IMAGE:- mathicsorg/ mathics: ${TAG} }
9+
10+ for arg in " $@ " ; do
11+ case " $arg " in
12+ -u | | -U | --upgrade | upgrade)
13+ $DOCKER pull $MATHICS_IMAGE
14+ exit $?
15+ ;;
16+ esac
17+ done
18+
619# Allow customization using POSIX environment variables:
720DOCKER=${DOCKER:- docker}
821MATHICS_DJANGO_DB=${MATHICS_DJANGO_DB:- " mathics.sqlite" }
922MATHICS_DJANGO_DB_PATH=${MATHICS_DJANGO_DB_PATH:-/ usr/ src/ app/ .local/ var/ mathics/ ${MATHICS_DJANGO_DB} }
1023
11- TAG=${TAG:- latest}
12- MATHICS_IMAGE=${MATHICS_IMAGE:- mathicsorg/ mathics: ${TAG} }
13-
1424$DOCKER run -it \
1525 --name mathics-web \
1626 --rm \
You can’t perform that action at this time.
0 commit comments