source: flex_extract.git/test/InstallTar/mk_install_tar.sh @ 3946de5

ctbtodev
Last change on this file since 3946de5 was 3946de5, checked in by Anne Philipp <anne.philipp@…>, 5 years ago

added testing for most of the install functions; improved install functions with exception handling

  • Property mode set to 100755
File size: 1.8 KB
Line 
1#!/bin/bash
2#
3# @Author: Anne Philipp
4#
5# @Date: November, 10 2018
6#
7# @Description: Makes a tar-ball for installation
8#
9
10# path to flex_extract base directory
11path=../../
12
13tarname='flex_extract_v7.1_local.tar'
14
15tar -cvf ../../test/InstallTar/$tarname \
16        ${path}source/python/classes/*py \
17        ${path}source/python/mods/*py \
18        ${path}source/python/*py \
19        ${path}source/pythontest/*py \
20        ${path}source/fortran/*.f \
21        ${path}source/fortran/*.f90 \
22        ${path}source/fortran/*.h \
23        ${path}source/fortran/Makefile* \
24        ${path}templates/convert.nl \
25        ${path}templates/*.temp \
26        ${path}templates/ecmwf_grib1_table_128 \
27        ${path}run/run_local.sh \
28        ${path}run/control/CONTROL* \
29        ${path}run/jobscripts \
30        ${path}LICENSE.md \
31        ${path}CODE_OF_CONDUCT.md \
32        ${path}README.md  \
33        --exclude=*.ksh
34                 
35                 
36                 
37tarname='flex_extract_v7.1_ecgate.tar'
38
39tar -cvf ../../test/InstallTar/$tarname \
40        ${path}source/python/classes/*py \
41        ${path}source/python/mods/*py \
42        ${path}source/python/*py \
43        ${path}source/pythontest/*py \
44        ${path}source/fortran/*.f \
45        ${path}source/fortran/*.f90 \
46        ${path}source/fortran/*.h \
47        ${path}source/fortran/Makefile* \
48        ${path}templates/convert.nl \
49        ${path}templates/*.temp \
50        ${path}templates/ecmwf_grib1_table_128 \
51        ${path}run/ECMWF_ENV \
52        ${path}run/run.sh \
53        ${path}run/control/CONTROL* \
54        ${path}run/jobscripts \
55        ${path}LICENSE.md \
56        ${path}CODE_OF_CONDUCT.md \
57        ${path}README.md \
58        --exclude=*.ksh
59                 
60                 
61                 
62                 
63                 
64                 
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG