-
Notifications
You must be signed in to change notification settings - Fork 1
Symfony 3
Kevin Herrera edited this page Aug 16, 2016
·
1 revision
The following is an example build configuration file for a Symfony 3 web application.
# Filter out some files.
filter:
# List paths to always exclude.
exclude:
# Exclude paths by regular expression.
regex:
- '/[Tt]ests/'
# List paths to include.
include:
# Include paths by name.
name:
- 'LICENSE'
# Include paths by regular expression.
regex:
- '/\.(html|json|php|twig|xsd|xml|yml)$/'
# Set the build configuration.
sqon:
# Compress contents using gzip.
compression: GZIP
# Use the executable script as main.
main: 'web/app.php'
# Registers Sqon manager plugins.
plugins:
- class: Sqon\Builder\Plugin\Chmod
- class: Sqon\Builder\Plugin\Filter
- class: Sqon\Builder\Plugin\Replace
# Create the Sqon as "app" in the parent directory.
output: '../app'
# Include all paths at the project root.
paths: ['.']