скрипт сборки

master
Роман Бородин 2022-03-25 01:30:35 +03:00
parent ed0f8b5c21
commit 3a3c9743a6
1 changed files with 11 additions and 0 deletions

11
build.sh 100755
View File

@ -0,0 +1,11 @@
#!/bin/bash
RDIR=$(dirname $(realpath "$0"))
cd "$RDIR"
rm -rf "py/gorrent"
gopy gen --output=py/gorrent gorrent
cp py/Makefile py/gorrent/
make -C py/gorrent
strip py/gorrent/_gorrent.so
cd -