12 lines
196 B
Bash
12 lines
196 B
Bash
|
#!/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 -
|
||
|
|