mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-23 02:27:33 +00:00
parent
d04169a0d8
commit
0fcffc5d2f
|
@ -117,6 +117,8 @@ final class BuildConfigurationCommand extends Command
|
||||||
$this->filesToGenerate->push(['drupal-project/phpunit.xml.dist', 'phpunit.xml.dist']);
|
$this->filesToGenerate->push(['drupal-project/phpunit.xml.dist', 'phpunit.xml.dist']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$configurationData['managedText'] = 'Do not edit this file. It is automatically generated by \'build-configs\'.';
|
||||||
|
|
||||||
$this->generateFiles($configurationData);
|
$this->generateFiles($configurationData);
|
||||||
|
|
||||||
return Command::SUCCESS;
|
return Command::SUCCESS;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# {{ managedText | raw }}
|
||||||
|
|
||||||
FROM php:{{ php.version }} AS base
|
FROM php:{{ php.version }} AS base
|
||||||
|
|
||||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# {{ managedText | raw }}
|
||||||
|
|
||||||
x-app: &default-app
|
x-app: &default-app
|
||||||
volumes:
|
volumes:
|
||||||
- "${DOCKER_WEB_VOLUME:-./{{ drupal.docroot }}:/app/{{ drupal.docroot }}}"
|
- "${DOCKER_WEB_VOLUME:-./{{ drupal.docroot }}:/app/{{ drupal.docroot }}}"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
<!-- {{ managedText | raw }} -->
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<phpunit
|
<phpunit
|
||||||
beStrictAboutChangesToGlobalState="true"
|
beStrictAboutChangesToGlobalState="true"
|
||||||
beStrictAboutOutputDuringTests="true"
|
beStrictAboutOutputDuringTests="true"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# {{ managedText | raw }}
|
||||||
|
|
||||||
export DOCKER_UID=1000
|
export DOCKER_UID=1000
|
||||||
|
|
||||||
{% if dockerCompose %}
|
{% if dockerCompose %}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# {{ managedText | raw }}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@just --list
|
@just --list
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# {{ managedText | raw }}
|
||||||
|
|
||||||
[[ -f composer.json && ! -d vendor ]] && composer install
|
[[ -f composer.json && ! -d vendor ]] && composer install
|
||||||
|
|
||||||
eval "$@"
|
eval "$@"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- {{ managedText | raw }} -->
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<ruleset name="{{ name }} coding standards">
|
<ruleset name="{{ name }} coding standards">
|
||||||
<description>PHPCS configuration file for {{ name }}.</description>
|
<description>PHPCS configuration file for {{ name }}.</description>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# {{ managedText | raw }}
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
level: {{ php.phpstan.level }}
|
level: {{ php.phpstan.level }}
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- {{ managedText | raw }} -->
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# {{ managedText | raw }}
|
||||||
|
|
||||||
:80
|
:80
|
||||||
root * /app/{{ drupal.docroot }}
|
root * /app/{{ drupal.docroot }}
|
||||||
file_server
|
file_server
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# {{ managedText | raw }}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue