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