From: Andreas Ringlstetter <andreas.ringlstetter@xxxxxxxxx>
- Keep the root directory clean:
When provisioning Vagrant, all files created are synchronized with the
host. Installing 3rd party artifacts to a central location helps avoiding
clutter.
Signed-off-by: Andreas Ringlstetter <andreas.ringlstetter@xxxxxxxxx>
---
integration-scripts/install_cppstats.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/integration-scripts/install_cppstats.sh
b/integration-scripts/install_cppstats.sh
index 2ad1bd6..c43b21c 100755
--- a/integration-scripts/install_cppstats.sh
+++ b/integration-scripts/install_cppstats.sh
@@ -4,6 +4,9 @@ export CPPSTATS_VERSION=0.8.4
echo "Providing cppstats $CPPSTATS_VERSION"
+mkdir -p vendor/
+cd vendor/
+
wget --quiet
https://codeload.github.com/clhunsen/cppstats/tar.gz/v$CPPSTATS_VERSION -O
/tmp/cppstats.tar.gz
tar -xvf /tmp/cppstats.tar.gz
export CPPSTATS=$PWD/cppstats-$CPPSTATS_VERSION/
@@ -16,3 +19,5 @@ tar -xvf /tmp/srcML.tar.gz
cp -rf $PWD/srcML/* $CPPSTATS/lib/srcml/linux/
sudo ln -sf $CPPSTATS/cppstats /usr/local/bin/cppstats
+
+cd ..
--
2.5.1