gulachek / esmakefile

Make based build system in JavaScript
MIT License
0 stars 0 forks source link

src path default in prereq is confusing #55

Closed gulachek closed 1 month ago

gulachek commented 1 month ago

It's confusing that

make.add('foo', 'bar');
make.add('bar', () => { ... });

doesn't run bar's recipe. I think the precedence for string paths should go

target: build path & only build path prereq: build path if hasTarget() (when Build starts), src path otherwise