Project

General

Profile

Statistics
| Revision:

root / trunk / build_component.sh

History | View | Annotate | Download (1019 Bytes)

1 142 soeren
#!/bin/bash
2 10 soeren
# ----------------------------------------------------------------------------
3
#
4
# Component Install Archive Builder
5
#
6 55 soeren
# This file is part of eXtplorer
7 10 soeren
#
8
# ----------------------------------------------------------------------------
9
10
# YOU MUST HAVE INSTALLED THE 4.x BETA VERSION OF p7zip (the command line version of 7-Zip for Unix/Linux).
11
# It's usually globally accessible (in the directory /usr/local/bin/)
12
13
DATE=$(date +%Y%m%d)
14 58 soeren
PATH='/home/soeren/Joomla/components/extplorer'
15 10 soeren
cd $PATH
16 142 soeren
SEVENZIP='/usr/bin/7za'
17
$SEVENZIP a -ttar -r $PATH/scripts.tar scripts
18
$SEVENZIP d -r $PATH/scripts.tar .svn/
19
$SEVENZIP a -tgzip $PATH/scripts.tar.gz $PATH/scripts.tar
20
/bin/rm $PATH/scripts.tar
21 10 soeren
22 142 soeren
$SEVENZIP a -tzip -r $PATH/com_extplorer.zip
23
$SEVENZIP d -r $PATH/com_extplorer.zip .svn/
24
$SEVENZIP d $PATH/com_extplorer.zip archive/ scripts/
25 10 soeren
26 142 soeren
$SEVENZIP d -r $PATH/com_extplorer.zip build_component.sh build_component.bat .project .projectOptions .cache preinstall.php README_PREINSTALL.txt
27 42 soeren
28 142 soeren
/bin/rm $PATH/scripts.tar.gz