Commit c8c442d4 authored by Sandeep Kadam's avatar Sandeep Kadam

Added post_prune step to clear sql files

parent 2fab1988
......@@ -211,8 +211,14 @@ wp config set WP_HOME $SITE_URL";
post_stop)
${ROOT}/bin/dev destroy_directories
${ROOT}/bin/dev destroy_symlinks
;;
post_prune)
${ROOT}/bin/dev post_stop
rm -rf ${LOCAL_CORE_PATH}/${RELATIVE_SQLDATA_SRC}
;;
post_up)
#${ROOT}/bin/dev create_symlinks
;;
......@@ -241,6 +247,7 @@ wp config set WP_HOME $SITE_URL";
prune)
echo "Removing containers for ${PROJECT_NAME}..."
docker-compose down -v
${ROOT}/bin/dev post_prune
;;
# launch container admin sites
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment