From b7b851bccd2179729de616a8f6f94fafa9342ed4 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 7 Aug 2019 21:33:33 +0100 Subject: [PATCH] Chain build commands --- netlify.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/netlify.toml b/netlify.toml index 74315f22..1f733cae 100644 --- a/netlify.toml +++ b/netlify.toml @@ -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" }