13d356691b
- Move the functionality for controlling `local-env` out of `package.json`, into JS scripts. - Merge the `docker-compose` config files, and move it to the root directory. This allows `docker-compose.override.yml` to work for local overrides. - Fix nginx redirecting to port 80 under some circumstances. - `npm run env:install` now creates `wp-tests.config.php` for you. - Cleaned up a bunch of cruft in `.travis.yml`. See #47767. git-svn-id: https://develop.svn.wordpress.org/trunk@45783 602fd350-edb4-49c9-b593-d223f7449a82
7 lines
255 B
JavaScript
7 lines
255 B
JavaScript
const dotenv = require( 'dotenv' );
|
|
const { execSync } = require( 'child_process' );
|
|
dotenv.config();
|
|
|
|
// Execute any docker-compose command passed to this script.
|
|
execSync( 'docker-compose ' + process.argv.slice( 2 ).join( ' ' ), { stdio: 'inherit' } );
|