Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.533 kb
#!/bin/sh
#
# Function: Run it from the jungerl/lib/$App directory
# in order to create a new release tar-ball.
#
CUR=`pwd`
APP=`basename ${CUR}`
VSN=`cat vsn.mk | sed -e 's/.*=//'`
DIR=release/${APP}-${VSN}
mkdir -p ${DIR}
mkdir -p ${DIR}/ebin
for i in `ls -d * | sed -e 's/release//g'`
do
[ -d ${i} ] && cp -Rp ${i} ${DIR} && rm -rf ${DIR}/${i}/CVS
[ -f ${i} ] && cp -p ${i} ${DIR}
done
rm -rf ${DIR}/CVS
rm -rf ${DIR}/ebin/*.beam
(cd release; tar cvzf ${APP}-${VSN}.tar.gz ${APP}-${VSN}; rm -rf ${APP}-${VSN})
Jump to Line
Something went wrong with that request. Please try again.