Dotclear

source: plugins/prvcat/build.sh @ 2210

Revision 2210, 453 bytes checked in by arno, 14 years ago (diff)

import version 2.1 to svn repository

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3set -e
4
5PROJECT="prvcat"
6BUILDDIR=./build
7DEST=$BUILDDIR/$PROJECT
8
9VERSION=$(sed _define.php -n -e "s/^\s\+\/\* Version \*\/\s\+'\([0-9.]\+\)',\s*/\1/p")
10
11rm -rf $BUILDDIR
12mkdir -p $DEST
13
14for f in *; do
15    if [ $f != "build" ]; then
16        cp -a $f $DEST
17    fi
18done
19rm -f $DEST/locales.help
20rm -f $DEST/build.sh
21rm -f $DEST/locales/*/*.po $DEST/locales/*/*.pot
22
23cd $BUILDDIR && zip -ru $PROJECT.$VERSION.zip $PROJECT
24
25echo "build success"
Note: See TracBrowser for help on using the repository browser.

Sites map