diff options
author | emkael <emkael@tlen.pl> | 2016-10-11 22:01:35 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-10-11 22:15:22 +0200 |
commit | ce325924f1ccdfd57dfcfdf107c7c289e019ea3f (patch) | |
tree | 60b0d39bd60362c88245de73b8856b55645a1854 /bin/static-site.php | |
parent | 748f5f7a3ae1a33ef02d30e327c8b8c5c7177a8a (diff) |
* moving .gitignore for caches
Diffstat (limited to 'bin/static-site.php')
-rwxr-xr-x | bin/static-site.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |