Skip to content
Snippets Groups Projects
Commit d004348f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

bundle

parent 66d405ab
Branches
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment