From ce325924f1ccdfd57dfcfdf107c7c289e019ea3f Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 11 Oct 2016 22:01:35 +0200 Subject: * moving .gitignore for caches --- bin/static-site.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/static-site.php b/bin/static-site.php index b121964..8b76555 100755 --- a/bin/static-site.php +++ b/bin/static-site.php @@ -74,7 +74,7 @@ exec( . escapeshellarg($inputDirectory . DIRECTORY_SEPARATOR) . ' ' . escapeshellarg($outputDirectory)); -exec('find ' . escapeshellarg(compile_path('caches')) . ' -type f -delete'); +exec('find ' . escapeshellarg(compile_path('caches')) . ' -type f -not -name .gitignore -delete'); $bootstrapper = compile_path(['include', 'setup.php']); require_once($bootstrapper); -- cgit v1.2.3