Skip to content
Snippets Groups Projects
Commit f9dd64ad authored by Andrew Maclean's avatar Andrew Maclean
Browse files

It is nice to know how long this script takes

parent 303de5c5
No related branches found
No related tags found
1 merge request!76It is nice to know how long this script takes
......@@ -28,6 +28,8 @@ WEB_REPO_URL=$3
WEB_REPO_DIR=$4
VTK_SOURCE_DIR=$5
start_time=$(date +%s)
echo "Synchronizing the vtk-examples site with the web repository folder."
echo " VTK Examples site URL: "$SITE_URL
echo " Web Site URL: "$WEB_SITE_URL
......@@ -97,5 +99,12 @@ pushd ${WEB_REPO_DIR}/site
find . -name index.html -exec htmlmin {} {} \;
popd
#####################
end_time=$(date +%s)
total_time=$(expr $end_time - $start_time)
echo
echo "Total time taken: "$total_time"s"
echo
#####################
echo "Now go to the repository DIR: "$WEB_REPO_DIR
echo " and update the site."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment