From 3a3c9743a6d411177248faff2b57eb18161bfd6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=BE=D1=80=D0=BE=D0=B4=D0=B8=D0=BD=20=D0=A0=D0=BE?= =?UTF-8?q?=D0=BC=D0=B0=D0=BD?= Date: Fri, 25 Mar 2022 01:30:35 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82=20=D1=81?= =?UTF-8?q?=D0=B1=D0=BE=D1=80=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 build.sh 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 - +