diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..34c5962 --- /dev/null +++ b/build.sh @@ -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 - +