Dave Barach 6d97e62c00 build: add snap packaging (experimental)
Type: feature

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I5a5efde5378f63d89d82d71ae009c7595aaa800c
2020-03-18 16:14:52 +00:00

12 lines
209 B
Bash
Executable File

#!/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