git subrepo clone (merge) --branch=v3.6.1 https://github.com/nats-io/nats.c.git deps/nats.c
subrepo: subdir: "deps/nats.c" merged: "66cec7f" upstream: origin: "https://github.com/nats-io/nats.c.git" branch: "v3.6.1" commit: "66cec7f" git-subrepo: version: "0.4.6" commit: "b8b46501e"
This commit is contained in:
15
deps/nats.c/install_deps.sh
vendored
Executable file
15
deps/nats.c/install_deps.sh
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
set -ex
|
||||
# check to see if the deps folder is empty
|
||||
if [ ! "$(ls -A $HOME/deps)" ]; then
|
||||
mkdir -p $HOME/deps
|
||||
git clone https://github.com/nats-io/nats.c.deps.git $HOME/deps
|
||||
|
||||
wget --no-check-certificate https://cmake.org/files/v3.20/cmake-3.20.4-linux-x86_64.tar.gz
|
||||
tar -xvf cmake-3.20.4-linux-x86_64.tar.gz > /dev/null
|
||||
mv cmake-3.20.4-linux-x86_64 $HOME/deps/cmake-install
|
||||
|
||||
else
|
||||
echo 'Using cached directory.';
|
||||
fi
|
||||
cd $HOME
|
Reference in New Issue
Block a user