kinode-dao / kit

Development toolkit for Kinode OS
Apache License 2.0
11 stars 3 forks source link

is `kit b` too aggressive in determining processes? #156

Open nick1udwig opened 1 month ago

nick1udwig commented 1 month ago

E.g. if i have a package containing

foo/
bar/
lib/

where lib/ is meant to be imported by foo/ and/or bar/ but is not itself a process, should there be a way to specify that lib/ is not a process?

Current workaround is to nest dirs, e.g.

foo/
bar/
crate/
  lib/
nick1udwig commented 1 month ago

the code that identifies a process dir in the package: https://github.com/kinode-dao/kit/blob/master/src/build/mod.rs#L414-L415 https://github.com/kinode-dao/kit/blob/master/src/build/mod.rs#L370-L371

so if it

  1. is a dir in the package
  2. has src/lib.rs its assumed to be a rust process
nick1udwig commented 1 month ago

https://discord.com/channels/1186394868336038080/1186421052071477428/1240714974930669760