rair-core icon indicating copy to clipboard operation
rair-core copied to clipboard

skeleton of the command to load scripts

Open gogo2464 opened this issue 3 years ago • 3 comments

This PR does not do nothing interesting for the moment. It is just to show. Next I will implement the run: see.

I should have done:

core.add_command("executeScript", "es", Arc::new(Mutex::new(ExecuteScript:new()))); instead. I will fix it as soon as possible.

gogo2464 avatar Sep 07 '20 23:09 gogo2464

I need to update the unit test to add my new command.

gogo2464 avatar Sep 08 '20 13:09 gogo2464

Codecov Report

Merging #92 into master will decrease coverage by 0.76%. The diff coverage is 31.25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
- Coverage   95.31%   94.55%   -0.77%     
==========================================
  Files          47       48       +1     
  Lines        3010     3012       +2     
==========================================
- Hits         2869     2848      -21     
- Misses        141      164      +23     
Impacted Files Coverage Δ
src/utils/cmd.rs 15.38% <15.38%> (ø)
src/core.rs 96.34% <100.00%> (-1.19%) :arrow_down:
src/utils/mod.rs 100.00% <100.00%> (ø)
rtrees/src/ist/rb_helpers.rs 88.88% <0.00%> (-11.12%) :arrow_down:
rtrees/src/rbtree/iter.rs 95.65% <0.00%> (-4.35%) :arrow_down:
rtrees/src/rbtree/iter_ref.rs 92.00% <0.00%> (-4.00%) :arrow_down:
rair-io/src/plugins/defaultplugin.rs 96.36% <0.00%> (-1.82%) :arrow_down:
rair-io/src/mapsquery.rs 95.83% <0.00%> (-1.05%) :arrow_down:
rair-io/src/descquery.rs 97.24% <0.00%> (-0.92%) :arrow_down:
... and 4 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 77a3eca...18b3a69. Read the comment docs.

codecov[bot] avatar Sep 08 '20 20:09 codecov[bot]

I added new unit test to make coverage be better.

gogo2464 avatar Sep 08 '20 21:09 gogo2464