CloudCannon / rosey

:rose: Open-source CLI tool for managing translations on static websites.
MIT License
41 stars 0 forks source link

Assets exclusion and separate source folder #7

Closed jonatahb closed 3 years ago

jonatahb commented 3 years ago

Added 2 new parameters --images-source The source folder to look up for translated images. Defaults to the same path as '--source'. --exclusions A regular expression used to determine which files not to copy as assets. Defaults to '\.(html?|json)'.

codecov-commenter commented 3 years ago

Codecov Report

Merging #7 (e713391) into master (89ec654) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   94.31%   94.33%   +0.01%     
==========================================
  Files          12       12              
  Lines         879      882       +3     
==========================================
+ Hits          829      832       +3     
  Misses         50       50              
Impacted Files Coverage Δ
cli.js 100.00% <100.00%> (ø)
lib/plugins/html/HTMLTranslator.js 98.00% <100.00%> (ø)
lib/runner.js 91.58% <100.00%> (-0.03%) :arrow_down:

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 89ec654...e713391. Read the comment docs.