Open jeffbdavenport opened 4 months ago
there are indeed local packages https://github.com/nektro/zigmod/blob/master/docs/zig.mod.md#dep-src
eg
dependencies:
- src: local path/to/folder
Oh thank you. Hmm last time I tried this, it didn't work.
@nektro This does not work. zigmod fetch
completely messes up the deps.zig with messed up characters with that set. If I try to fix the characters it still says module does not exist:
pub const package_data = struct {
pub var _root = Package{
.directory = dirs._root,
.dependencies = &.{ &_kaxlt5olnjjv },
};
pub var _������������ = Package{
.directory = dirs._������������,
.import = .{ "../dungeon_weld", .{ .path = dirs._������������ ++ "/src/main.zig" } },
.dependencies = &.{ },
};
pub var _kaxlt5olnjjv = Package{
.directory = dirs._kaxlt5olnjjv,
.dependencies = &.{ &_������������ },
};
};
id: kaxlt5olnjjvva02l9c1fukv2j79ospasy0j1zprhb14tvfc
name: tower_of_embers
license: None
description: None
root_dependencies:
dependencies:
- src: local ../dungeon_weld
thanks for the report. i know what change caused this.
I don't understand why it's impossible to add a local package? Seems like this to me is more important than remote packages, why is this preferred over Gyro which is way simpler to use and supports adding local packages pretty easily?