mirror of
https://github.com/gaoyifan/china-operator-ip.git
synced 2025-12-16 14:23:18 +08:00
Build cidr-merger from source
This commit is contained in:
15
dependency.sh
Executable file
15
dependency.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
cidr-merger --version || {
|
||||
curl -sL -o ~/bin/gimme https://raw.githubusercontent.com/travis-ci/gimme/master/gimme
|
||||
chmod +x ~/bin/gimme
|
||||
eval "$(gimme stable)"
|
||||
go get github.com/zhanhb/cidr-merger
|
||||
}
|
||||
bgptools --version | grep -F $BGPTOOLS_VERSION || \
|
||||
cargo install --vers $BGPTOOLS_VERSION bgptools
|
||||
|
||||
cidr-merger --version
|
||||
bgptools --version
|
||||
Reference in New Issue
Block a user