summaryrefslogtreecommitdiffstats
path: root/extras/snap/prep
diff options
context:
space:
mode:
Diffstat (limited to 'extras/snap/prep')
-rwxr-xr-xextras/snap/prep11
1 files changed, 11 insertions, 0 deletions
diff --git a/extras/snap/prep b/extras/snap/prep
new file mode 100755
index 00000000000..caabd85ccd6
--- /dev/null
+++ b/extras/snap/prep
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+set -eu
+
+cd ../../build-root
+echo "make distclean..."
+make distclean > /dev/null 2>&1
+cd ../
+echo "construct source tarball..."
+tar -zcf extras/snap/vpp.tgz --exclude=extras/snap/vpp.tgz .
+exit 0