mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
remove unused scripts.inc
This commit is contained in:
parent
1dd1acdffe
commit
ebe7ff7a37
1 changed files with 0 additions and 31 deletions
31
scripts.inc
31
scripts.inc
|
@ -1,31 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
CHECKABLE="rslib pylib qt"
|
||||
DEVEL="rspy pylib qt"
|
||||
|
||||
if [ "$UNOPT" = "" ]; then
|
||||
BUILDFLAGS="--release --strip"
|
||||
else
|
||||
BUILDFLAGS=""
|
||||
fi
|
||||
|
||||
# activate venv
|
||||
if [ ! -d pyenv ]; then
|
||||
python3 -m venv pyenv
|
||||
. pyenv/bin/activate
|
||||
pip install --upgrade pip setuptools
|
||||
else
|
||||
. pyenv/bin/activate
|
||||
fi
|
||||
|
||||
# add qt if missing
|
||||
python -c 'import PyQt5' 2>/dev/null || pip install -r qt/requirements.qt
|
||||
|
||||
# update build hash
|
||||
oldhash=$(test -f meta/buildhash && cat meta/buildhash || true)
|
||||
newhash=$(git rev-parse --short HEAD)
|
||||
if [ "$oldhash" != "$newhash" ]; then
|
||||
echo $newhash > meta/buildhash
|
||||
fi
|
Loading…
Reference in a new issue