linuxlizard / pymake

Parse GNU Makefiles with Python. Work in progress!
GNU General Public License v2.0
29 stars 9 forks source link

add MAKELEVEL built-in variable #11

Open linuxlizard opened 1 year ago

linuxlizard commented 1 year ago

"As a special feature, the variable MAKELEVEL is changed when it is passed down from level to level. This variable’s value is a string which is the depth of the level as a decimal number. The value is ‘0’ for the top-level make; ‘1’ for a sub-make, ‘2’ for a sub-sub-make, and so on. The incrementation happens when make sets up the environment for a recipe. "

GNU Make Manual https://www.gnu.org/software/make/manual/make.html

codecov[bot] commented 1 year ago

Codecov Report

Merging #11 (7c140f6) into master (45e77b2) will decrease coverage by 0.09%. The diff coverage is 25.00%.

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   55.67%   55.59%   -0.09%     
==========================================
  Files          27       27              
  Lines        3143     3148       +5     
  Branches      629      630       +1     
==========================================
  Hits         1750     1750              
- Misses       1251     1256       +5     
  Partials      142      142              
Flag Coverage Δ
unittests 55.59% <25.00%> (-0.09%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pymake/pymake.py 18.39% <25.00%> (-0.36%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more