couch/package.sh

19 lines
256 B
Bash
Raw Normal View History

2021-03-16 13:33:49 -05:00
#!/usr/bin/env bash
set -e
cd `dirname $0`
mkdir -p dist
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
rm -f couch-linux.tgz
tar cvzf couch-linux.tgz \
couch \
CORRESPONDINGSOURCE.txt \
LICENSE
mv couch-linux.tgz ../dist