JittorMirror/script/update.sh

8 lines
144 B
Bash
Executable File

#!/bin/bash
bpath=$(dirname "${BASH_SOURCE[0]}")
cd $bpath
cd ..
pwd
git fetch --all
git reset --hard origin/master
python3.7 -c "import jittor"