gorrent/build.sh

12 lines
196 B
Bash
Raw Permalink Normal View History

2022-03-25 01:30:35 +03:00
#!/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 -