This can work only for toy projects with no complex build scripts and without dependencies fetched not via git.
Why not use existing solutions?
This can work only for toy projects with no complex build scripts and without dependencies fetched not via git.