gorrent/build.sh

12 lines
196 B
Bash
Executable File

#!/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 -