You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
397 B
Bash
11 lines
397 B
Bash
#!/usr/bin/env sh
|
|
if [ "$1" = "-test" ]; then
|
|
pip install --pre --upgrade -r requirements.txt
|
|
mkdir -p $XDG_CACHE_HOME/3con/pyc
|
|
python3 -dd -R -vv -Wa -X importtime -X pycache_prefix=$XDG_CACHE_HOME/3con/pyc -X dev src/__main__.py -devmode=full
|
|
else
|
|
pip install --upgrade 3con
|
|
mkdir -p $XDG_CACHE_HOME/3con/pyc
|
|
python3 -R -X pycache_prefix=$XDG_CACHE_HOME/3con/pyc src/__main__.py
|
|
fi
|