From e4bc65433283e0725a2e7bf07ae0c84f7905af17 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 11 Nov 2019 18:50:56 +0100 Subject: feat: make Sentry optional - move sentry to PHP dev requirements. - try...catch Sentry integration in PHP. - update Makefile: - add comments as documentation. - remove recursive call from PREV_ENV_FILE target. - make dist and sentryrelease ENV variable. - add touch target for more efficient rebuilds. - add `dist` build ENV functionnality not to include dev-requirements in the zip release. --- composer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 230c14e..7b7a74a 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,9 @@ "altorouter/altorouter": "^1.2", "jamesmoss/flywheel": "^0.5.2", "league/plates": "^3.3", - "michelf/php-markdown": "^1.8", + "michelf/php-markdown": "^1.8" + }, + "require-dev": { "sentry/sdk": "^2.0" }, "autoload": { -- cgit v1.2.3