diff --git a/package_onelab.sh b/bundle_onelab.sh similarity index 95% rename from package_onelab.sh rename to bundle_onelab.sh index 64573536cabeb68d718c9a24eabc4d5c55c506d3..acec670b33af4c094efef7e735c386eb6229f8da 100755 --- a/package_onelab.sh +++ b/bundle_onelab.sh @@ -25,10 +25,10 @@ GETDP=git #GMSH=3.0.0 #GETDP=2.11.0 -TUTO_GETDP='Electrostatics Magnetostatics Elasticity ElectrostaticsFloating Thermics PotentialFlow Magnetodynamics CircuitCoupling' -TUTO_CPP='PendulumC++' -TUTO_PYTHON='PendulumPython' -MODELS='AcousticScattering Antennas BlochPeriodicWaveguides Cohomology GetDDM DiffractionGratings ElectricMachines ElectromechanicalRelay Inductor Magnetometer Magnetostriction Magnets Shielding Superconductors ThermalConduction TimeReversal Waveguides' +TUTO_GETDP=`cat bundle_tutorials_getdp.txt` +TUTO_CPP=`cat bundle_tutorials_cpp.txt` +TUTO_PYTHON=`cat bundle_tutorials_python.txt` +MODELS=`cat bundle_models.txt` # get models and tutorials rm -rf /tmp/models @@ -87,6 +87,7 @@ if [ $# -lt 1 ] || [ $1 == "source" ]; then rm -rf /tmp/getdp-* zip -r onelab-source.zip onelab-source rm -rf onelab-source + scp onelab-source.zip geuzaine@onelab.info:/onelab_files/ fi if [ $# -lt 1 ] || [ $1 == "win64" ]; then @@ -117,6 +118,7 @@ if [ $# -lt 1 ] || [ $1 == "win64" ]; then rm -rf /tmp/getdp-* zip -r onelab-Windows64.zip onelab-Windows64 rm -rf onelab-Windows64 + scp onelab-Windows64.zip geuzaine@onelab.info:/onelab_files/ fi if [ $# -lt 1 ] || [ $1 == "win32" ]; then @@ -147,6 +149,7 @@ if [ $# -lt 1 ] || [ $1 == "win32" ]; then rm -rf /tmp/getdp-* zip -r onelab-Windows32.zip onelab-Windows32 rm -rf onelab-Windows32 + scp onelab-Windows32.zip geuzaine@onelab.info:/onelab_files/ fi if [ $# -lt 1 ] || [ $1 == "linux64" ]; then @@ -176,6 +179,7 @@ if [ $# -lt 1 ] || [ $1 == "linux64" ]; then rm -rf /tmp/getdp-* zip -r onelab-Linux64.zip onelab-Linux64 rm -rf onelab-Linux64 + scp onelab-Linux64.zip geuzaine@onelab.info:/onelab_files/ fi if [ $# -lt 1 ] || [ $1 == "linux32" ]; then @@ -205,6 +209,7 @@ if [ $# -lt 1 ] || [ $1 == "linux32" ]; then rm -rf /tmp/getdp-* zip -r onelab-Linux32.zip onelab-Linux32 rm -rf onelab-Linux32 + scp onelab-Linux32.zip geuzaine@onelab.info:/onelab_files/ fi if [ $# -lt 1 ] || [ $1 == "mac" ]; then @@ -239,4 +244,5 @@ if [ $# -lt 1 ] || [ $1 == "mac" ]; then hdiutil create -srcfolder onelab-MacOSX onelab-MacOSX.dmg codesign -v --sign "Developer ID Application: Christophe Geuzaine" onelab-MacOSX.dmg rm -rf onelab-MacOSX + scp onelab-MacOSX.dmg geuzaine@onelab.info:/onelab_files/ fi