some notes on supporting create command in standalone binaries
Roger-luo opened this issue · comments
-
currently PkgTemplates uses
Pkg.update
which will later callstdlib
to find path to stdlibs etc. this does not exists in standalone binaries. And I think mostPkg.update
can be removed or replaced by more independent operation e.g sort the TOML file while writing it usingsorted=true
kwargs like what Pkg does. -
from Julia 1.6 Pkg supports
julia_version
kwargs for each command to set a certain Julia version to resolve, so we don't need to call Pkg from different julia versions anymore, but directly use the Pkg built into the binary can the version number we stored already inion.toml
. -
still need to figure out a way to pass some paths to Pkg like stdlibs.