diff --git a/For_developers/mk_install_tar.sh b/For_developers/mk_install_tar.sh deleted file mode 100755 index f13f82ecc1ae6b5ff36b67d3c415418c175dbb01..0000000000000000000000000000000000000000 --- a/For_developers/mk_install_tar.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -# -# @Author: Anne Philipp -# -# @Date: June, 7 2018 -# -# @Description: Makes a tarball for installation -# - -tarname='flex_extract_v7.1.tar.gz' -path='/nas/tmc/Anne/Interpolation/flexextract/flexextract/python/../' - -tar -cvf $tarname ${path}python/*py ${path}python/CONTROL* ${path}python/*ksh ${path}python/*temp ${path}python/ECMWF_ENV ${path}python/*json ${path}grib_templates ${path}src/*.f ${path}src/*.f90 ${path}src/*.h ${path}src/Makefile* - - diff --git a/For_developers/mk_upload_tarball.sh b/For_developers/mk_upload_tarball.sh old mode 100644 new mode 100755 index 4266f64ddf6c27dc57e618d7432fb3b0a47bbde1..b4d018a064db936a7d134720aa603c809f7980fe --- a/For_developers/mk_upload_tarball.sh +++ b/For_developers/mk_upload_tarball.sh @@ -2,12 +2,49 @@ # # @Author: Anne Philipp # -# @Date: June, 7 2018 +# @Date: March, 1 2019 # -# @Description: Makes a tarball for uploading on flexpart.eu +# @Description: Makes a tarball for uploading and distributing on flexpart.eu +# +# @Licence: +# (C) Copyright 2014-2019. +# +# SPDX-License-Identifier: CC-BY-4.0 +# +# This work is licensed under the Creative Commons Attribution 4.0 +# International License. To view a copy of this license, visit +# http://creativecommons.org/licenses/by/4.0/ or send a letter to +# Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. # tarname='flex_extract_v7.1.tar.gz' +tardir='flex_extract_v7.1' +# go back to directory which is above flex_extract directory +cd ../.. -tar --exclude='./src/*.o' --exclude='./src/*.mod' --exclude='./src/CONVERT2' --exclude='./python/*.pyc' --exclude='./python/*.ksh' --exclude='./python/ECMWF_ENV' --exclude='./python/*sh' --exclude='*sh' --exclude='*tar.gz' --exclude='work' --exclude='./python/job.temp' -zcvf $tarname . +# create tar-ball +tar -zcvf $tarname $tardir\ + --exclude=$tardir'/Source/Fortran/*.o' \ + --exclude=$tardir'/Source/Fortran/*.mod' \ + --exclude=$tardir'/Source/Fortran/CONVERT2*' \ + --exclude=$tardir'/Source/Python/*.pyc' \ + --exclude=$tardir'/Source/Pythontest/*.pyc' \ + --exclude=$tardir'/Source/Pythontest/__pycache__' \ + --exclude=$tardir'/Source/Pythontest/.pytest_cache' \ + --exclude=$tardir'/.git' \ + --exclude=$tardir'/.gitignore' \ + --exclude=$tardir'/Run/ECMWF_ENV' \ + --exclude=$tardir'/Run/Workspace' \ + --exclude=$tardir'/Run/Jobscripts/*' \ + --exclude=$tardir'/Testing/Testcases' \ + --exclude=$tardir'/Testing/Controls' \ + --exclude=$tardir'/Testing/Dir' \ + --exclude=$tardir'/Run/fontconfig' \ + --exclude=$tardir'/Run/run_local.sh' \ + --exclude=$tardir'/Run/Control/Testgrid' \ + --exclude=$tardir'/Run/Control/notPublic' \ + --exclude=$tardir'setup_local.sh' \ + --exclude=$tardir'/.empty' \ + +