Nagram/bin/libs/v2ray/build.sh
2021-03-01 16:02:36 +08:00

11 lines
250 B
Bash
Executable File

#!/usr/bin/env bash
source "bin/init/env.sh"
export GO111MOUDLE=on
export PATH="$PATH:$(go env GOPATH)/bin"
cd "$PROJECT/build/v2ray"
gomobile init
gomobile bind -v -ldflags='-s -w' . || exit 1
/bin/cp -f libv2ray.aar "$PROJECT/TMessagesProj/libs"