Skip to content

Commit

Permalink
add make_fulldist.sh for help with releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdarst committed Jul 13, 2015
1 parent bb31234 commit c591baa
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions make_fulldist.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/sh
#
# This scripts make a full .tar.gz that contains dependencies for
# release. This is only needed to create an easy distribution if
# installing networkx and cloning pcd is too much.

VER=`git describe HEAD --always`
echo "Creating distribution version $VER"

DIST="dynbench-fulldist-$VER"
mkdir $DIST
DIST_FULLPATH=$PWD/$DIST

cp --parents `git ls-files` $DIST


# In subshell
(
mkdir $DIST_FULLPATH/pcd/
cd /home/darstr1/proj/pcd/ ;
cp --parents `git --git-dir=/home/darstr1/proj/pcd/.git ls-files` $DIST_FULLPATH/pcd/
)

cp -r ~/modules/install/networkx-1.9.1/networkx/ $DIST_FULLPATH/networkx/

tar czf $DIST.tar.bz2 $DIST/

0 comments on commit c591baa

Please # to comment.