Merge pull request #2721 from maxGimeno/Bundle_demo_script-GF

Automatically create a bundle of the Polyhedron demo for Linux.
This commit is contained in:
Laurent Rineau 2018-10-08 15:13:54 +02:00
commit e5bb2cf446
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/bin/bash
if [ "$1" == '--help' ]; then
echo "Usage: $0 <path to CGAL release> <path to output> <number of cores to dedicate>"
echo "Builds and packages the Polyhedron demo form the CGAL dir."
exit 0
fi
docker run --rm -v "$2":/results:Z -v "$1":/cgal:ro docker.io/cgal/bundle-3d-demo "/scripts/build.sh -j$3 && /scripts/deploy.sh"