Skip to content

Commit a7fb0cd

Browse files
committed
ignore development files on production env
Signed-off-by: MarioRadu <magda_marior@yahoo.com>
1 parent 71ebe0e commit a7fb0cd

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

bin/composer-post-install-script.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,4 @@ function getEnvironment(): string
5353

5454
echo "Using environment setting: " . getEnvironment() . PHP_EOL;
5555

56-
var_dump(file_exists(\Laminas\DevelopmentMode\Status::DEVEL_CONFIG));
57-
var_dump(file_exists(\Laminas\DevelopmentMode\Status::DEVEL_CONFIG . '.dist'));
58-
5956
array_walk($files, 'copyFile');

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@
104104
},
105105
"scripts": {
106106
"post-create-project-cmd": [
107-
"@development-enable"
107+
"@development-enable",
108+
"echo Running post-create-project-cmd commands"
108109
],
109110
"post-update-cmd": [
110111
"php bin/composer-post-install-script.php"

0 commit comments

Comments
 (0)