diff options
| author | Johan Lundberg <lundberg@nordu.net> | 2015-04-02 10:43:33 +0200 |
|---|---|---|
| committer | Johan Lundberg <lundberg@nordu.net> | 2015-04-02 10:43:33 +0200 |
| commit | bd611ac59f7c4db885a2f8631ef0bcdcd1901ca0 (patch) | |
| tree | e60f5333a7699cd021b33c7f5292af55b774001b /make_dist.sh | |
Diffstat (limited to 'make_dist.sh')
| -rwxr-xr-x | make_dist.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/make_dist.sh b/make_dist.sh new file mode 100755 index 0000000..c342eaa --- /dev/null +++ b/make_dist.sh @@ -0,0 +1,19 @@ +#!/bin/bash +# +# Copyright 2011 Google Inc. All Rights Reserved. +# Author: watson@google.com (Tony Watson) + +rev=`svn up|awk '{print $3}'` +archive="capirca-r"$rev"tgz" +filedir='./capirca' + +echo "Building: $archive" +find . -name \*.pyc -exec rm {} \; +pushd . > /dev/null +cd .. +tar -czf $archive --exclude-vcs $filedir +mv $archive $filedir +popd > /dev/null +ls -al $archive +echo "Done." + |
