phug-php / phug

Phug - The Pug Template Engine for PHP
https://phug.selfbuild.fr
MIT License
63 stars 3 forks source link

Allow to remove the view directories once cached #49

Closed kylekatarnls closed 4 years ago

kylekatarnls commented 4 years ago

Fix https://github.com/pug-php/pug/issues/226

This will allow to remove view directory(ies) when using 'up_to_date_check' => false and the CLI to cache views on deploy.

codecov[bot] commented 4 years ago

Codecov Report

Merging #49 into master will increase coverage by 0.53%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #49      +/-   ##
============================================
+ Coverage     99.41%   99.95%   +0.53%     
- Complexity     2565     2624      +59     
============================================
  Files           237      241       +4     
  Lines          6870     6969      +99     
============================================
+ Hits           6830     6966     +136     
+ Misses           40        3      -37
Impacted Files Coverage Δ Complexity Δ
.../Renderer/Renderer/Partial/Debug/DebuggerTrait.php 100% <ø> (+6.13%) 60 <0> (ø) :arrow_down:
src/Phug/Phug/Phug/Optimizer.php 100% <ø> (ø) 42 <0> (ø) :arrow_down:
src/Phug/Renderer/Renderer/Partial/CacheTrait.php 100% <ø> (ø) 4 <0> (ø) :arrow_down:
src/Phug/Phug/Phug/Phug.php 97.77% <ø> (-2.23%) 60 <0> (ø)
src/Phug/Phug/Phug/Partial/ExtensionsTrait.php 100% <ø> (+1.14%) 39 <0> (ø) :arrow_down:
...g/Renderer/Renderer/Partial/RenderingFileTrait.php 100% <100%> (ø) 1 <1> (?)
src/Phug/Compiler/Compiler/Locator/FileLocator.php 100% <100%> (ø) 21 <8> (+7) :arrow_up:
src/Phug/Renderer/Renderer.php 100% <100%> (ø) 19 <0> (-1) :arrow_down:
...Renderer/Renderer/Partial/RendererOptionsTrait.php 100% <100%> (ø) 18 <4> (ø) :arrow_down:
src/Phug/Compiler/Compiler.php 100% <100%> (+1.2%) 101 <3> (+5) :arrow_up:
... and 22 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 31cab2c...ab47b83. Read the comment docs.

codeclimate[bot] commented 4 years ago

Code Climate has analyzed commit ab47b831 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 99.9% (0.5% change).

View more on Code Climate.