Chain build commands

This commit is contained in:
Oliver Davies 2019-08-07 21:33:33 +01:00
parent 4102e4dbd0
commit b7b851bccd

View file

@ -1,10 +1,10 @@
[build]
command = """
composer test
composer prod
yarn lint --fix-dry-run
yarn prod
cp -R source/dist output_prod
composer test \
&& composer prod \
&& yarn lint --fix-dry-run \
&& yarn prod \
&& cp -R source/dist output_prod
"""
publish = "output_prod"
environment = { PHP_VERSION = "7.2", YARN_VERSION = "1.13.0" }