mirror of https://github.com/q191201771/lal.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1006 B
Bash
33 lines
1006 B
Bash
5 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
# lalserver pushrtmp pullrtmp pullhttpflv innertest
|
||
|
# logic
|
||
|
# rtsp
|
||
|
# hls httpflv rtmp rtprtcp sdp
|
||
|
# base aac avc hevc
|
||
|
|
||
2 years ago
|
#set -x
|
||
|
go env -w GO111MODULE=on
|
||
|
go env -w GOPROXY=https://goproxy.cn,https://goproxy.io,direct
|
||
|
export GO111MODULE=on
|
||
|
export GOPROXY=https://goproxy.cn,https://goproxy.io,direct
|
||
|
THIS_FILE=$(readlink -f $0)
|
||
|
THIS_DIR=$(dirname $THIS_FILE)
|
||
|
ROOT_DIR=${THIS_DIR}/..
|
||
|
|
||
|
for d in $(go list ${ROOT_DIR}/pkg/...); do
|
||
5 years ago
|
echo "-----"$d"-----"
|
||
|
# 只看依赖lal自身的哪些package
|
||
|
# package依赖自身这个package的过滤掉
|
||
|
# 依赖pkg/base这个基础package的过滤掉
|
||
4 years ago
|
go list -deps $d | grep 'q191201771/naza' | grep -v $d | grep -v 'q191201771/lal/pkg/base'
|
||
5 years ago
|
#go list -deps $d | grep 'q191201771/lal' | grep -v $d
|
||
5 years ago
|
#go list -deps $d | grep 'q191201771/naza' | grep -v $d
|
||
5 years ago
|
done
|
||
|
|
||
5 years ago
|
#for d in $(go list ./app/...); do
|
||
|
#echo "-----"$d"-----"
|
||
5 years ago
|
#go list -deps $d | grep 'q191201771/lal' | grep -v $d
|
||
5 years ago
|
#go list -deps $d | grep 'q191201771/naza' | grep -v $d
|
||
|
#done
|