[be6c0a2] | 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 |
---|
| 11 | path=../../ |
---|
| 12 | |
---|
[8028176] | 13 | tarname='flex_extract_v7.1.2_local.tar' |
---|
[be6c0a2] | 14 | pwd |
---|
| 15 | tar -zcvf ../../Testing/Regression/Unit/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/*.f90 \ |
---|
| 21 | ${path}Source/Fortran/*.h \ |
---|
| 22 | ${path}Source/Fortran/makefile* \ |
---|
[8028176] | 23 | ${path}Templates/* \ |
---|
[be6c0a2] | 24 | ${path}Run/run_local.sh \ |
---|
| 25 | ${path}Run/Control/CONTROL* \ |
---|
[8028176] | 26 | ${path}Run/Jobscripts/*.md \ |
---|
| 27 | ${path}*.md \ |
---|
| 28 | ${path}Testing/Installation/*.sh \ |
---|
| 29 | ${path}Testing/Installation/Api_testscripts/* \ |
---|
| 30 | ${path}Testing/Installation/Calc_etadot/* \ |
---|
| 31 | ${path}Testing/Installation/First_extraction/* \ |
---|
[be6c0a2] | 32 | --exclude=*.ksh \ |
---|
| 33 | --exclude=flex_extract_v7.1_*.tar |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | |
---|
[8028176] | 37 | tarname='flex_extract_v7.1.2_ecgate.tar' |
---|
[be6c0a2] | 38 | |
---|
| 39 | tar -zcvf ../../Testing/Regression/Unit/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/*.f90 \ |
---|
| 45 | ${path}Source/Fortran/*.h \ |
---|
| 46 | ${path}Source/Fortran/makefile* \ |
---|
[8028176] | 47 | ${path}Templates/* \ |
---|
[be6c0a2] | 48 | ${path}Run/ECMWF_ENV \ |
---|
| 49 | ${path}Run/run.sh \ |
---|
| 50 | ${path}Run/Control/CONTROL* \ |
---|
[8028176] | 51 | ${path}Run/Jobscripts/*.md \ |
---|
[be6c0a2] | 52 | ${path}LICENSE.md \ |
---|
| 53 | ${path}CODE_OF_CONDUCT.md \ |
---|
| 54 | ${path}README.md \ |
---|
[8028176] | 55 | ${path}Testing/Installation/*.sh \ |
---|
| 56 | ${path}Testing/Installation/Api_testscripts/* \ |
---|
| 57 | ${path}Testing/Installation/Calc_etadot/* \ |
---|
| 58 | ${path}Testing/Installation/First_extraction/* \ |
---|
[be6c0a2] | 59 | --exclude=*.ksh \ |
---|
| 60 | --exclude=flex_extract_v7.1_*.tar |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | |
---|