Build/Test Tools: Introduce a command for restarting the local Docker environment.
This change introduces the `env:restart` command for easier restarting of the local Docker environment. Props desrosj, ianbelanger. Fixes #50039. git-svn-id: https://develop.svn.wordpress.org/trunk@47730 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
13d382f1ff
commit
aef50f979d
|
@ -153,6 +153,7 @@
|
||||||
"grunt": "grunt",
|
"grunt": "grunt",
|
||||||
"env:start": "node ./tools/local-env/scripts/start.js",
|
"env:start": "node ./tools/local-env/scripts/start.js",
|
||||||
"env:stop": "node ./tools/local-env/scripts/docker.js down",
|
"env:stop": "node ./tools/local-env/scripts/docker.js down",
|
||||||
|
"env:restart": "npm run env:stop && npm run env:start",
|
||||||
"env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
|
"env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
|
||||||
"env:reset": "node ./tools/local-env/scripts/docker.js down --rmi all -v --remove-orphans",
|
"env:reset": "node ./tools/local-env/scripts/docker.js down --rmi all -v --remove-orphans",
|
||||||
"env:install": "node ./tools/local-env/scripts/install.js",
|
"env:install": "node ./tools/local-env/scripts/install.js",
|
||||||
|
|
Loading…
Reference in New Issue