authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-07-24 02:39:58 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-07-24 02:39:58 -07:00
loge3a04e2a4a6fc26a8c70dd18859688d91458b402
treeb7d1931aed63cc6c97de14050c60a9ee58e0541d
parent5626ce5c87e97fa46f6ab028cd03a5836cbc9b8d

run build_all, fix zigwin32 usage


3 files changed, 12 insertions(+), 7 deletions(-)

deps.zig+8-5
...@@ -114,16 +114,16 @@ pub const package_data = struct {...@@ -114,16 +114,16 @@ pub const package_data = struct {
114 .pkg = Pkg{ .name = "range", .path = .{ .path = dirs._tnj3qf44tpeq ++ "/src/lib.zig" }, .dependencies = null },114 .pkg = Pkg{ .name = "range", .path = .{ .path = dirs._tnj3qf44tpeq ++ "/src/lib.zig" }, .dependencies = null },
115 };115 };
116116
117 pub const _89ujp8gq842x = Package{
118 .directory = dirs._89ujp8gq842x,
119 .pkg = Pkg{ .name = "zigmod", .path = .{ .path = dirs._89ujp8gq842x ++ "/src/lib.zig" }, .dependencies = &.{ _s84v9o48ucb0.pkg.?, _2ta738wrqbaq.pkg.?, _0npcrzfdlrvk.pkg.?, _ejw82j2ipa0e.pkg.?, _ocmr9rtohgcc.pkg.?, _tnj3qf44tpeq.pkg.? } },
120 };
121
117 pub const _o6ogpor87xc2 = Package{122 pub const _o6ogpor87xc2 = Package{
118 .directory = dirs._o6ogpor87xc2,123 .directory = dirs._o6ogpor87xc2,
119 .pkg = Pkg{ .name = "win32", .path = .{ .path = dirs._o6ogpor87xc2 ++ "/win32.zig" }, .dependencies = null },124 .pkg = Pkg{ .name = "win32", .path = .{ .path = dirs._o6ogpor87xc2 ++ "/win32.zig" }, .dependencies = null },
120 };125 };
121126
122 pub const _89ujp8gq842x = Package{
123 .directory = dirs._89ujp8gq842x,
124 .pkg = Pkg{ .name = "zigmod", .path = .{ .path = dirs._89ujp8gq842x ++ "/src/lib.zig" }, .dependencies = &.{ _s84v9o48ucb0.pkg.?, _2ta738wrqbaq.pkg.?, _0npcrzfdlrvk.pkg.?, _ejw82j2ipa0e.pkg.?, _ocmr9rtohgcc.pkg.?, _tnj3qf44tpeq.pkg.?, _o6ogpor87xc2.pkg.? } },
125 };
126
127 pub const _root = Package{127 pub const _root = Package{
128 .directory = dirs._root,128 .directory = dirs._root,
129 };129 };
...@@ -132,13 +132,16 @@ pub const package_data = struct {...@@ -132,13 +132,16 @@ pub const package_data = struct {
132132
133pub const packages = &[_]Package{133pub const packages = &[_]Package{
134 package_data._89ujp8gq842x,134 package_data._89ujp8gq842x,
135 package_data._o6ogpor87xc2,
135};136};
136137
137pub const pkgs = struct {138pub const pkgs = struct {
138 pub const zigmod = package_data._89ujp8gq842x;139 pub const zigmod = package_data._89ujp8gq842x;
140 pub const win32 = package_data._o6ogpor87xc2;
139};141};
140142
141pub const imports = struct {143pub const imports = struct {
142 pub const zigmod = @import(".zigmod/deps/../../src/lib.zig");144 pub const zigmod = @import(".zigmod/deps/../../src/lib.zig");
145 pub const win32 = @import(".zigmod/deps/git/github.com/marlersoft/zigwin32/win32.zig");
143};146};
144147
src/main.zig+2-2
...@@ -34,9 +34,9 @@ pub fn main() !void {...@@ -34,9 +34,9 @@ pub fn main() !void {
34 return;34 return;
35 }35 }
3636
37 if (builtin.os.tag == .windows) {37 if (!build_options.bootstrap and builtin.os.tag == .windows) {
38 const console = win32.system.console;38 const console = win32.system.console;
39 console.SetConsoleMode(std.io.getStdOut().handle, console.ENABLE_VIRTUAL_TERMINAL_PROCESSING);39 _ = console.SetConsoleMode(std.io.getStdOut().handle, console.ENABLE_VIRTUAL_TERMINAL_PROCESSING);
40 }40 }
4141
42 inline for (std.meta.declarations(available)) |decl| {42 inline for (std.meta.declarations(available)) |decl| {
zig.mod+2
...@@ -35,4 +35,6 @@ dependencies:...@@ -35,4 +35,6 @@ dependencies:
35 - src: git https://github.com/truemedian/zfetch35 - src: git https://github.com/truemedian/zfetch
36 - src: git https://github.com/nektro/zig-json36 - src: git https://github.com/nektro/zig-json
37 - src: git https://github.com/nektro/zig-range37 - src: git https://github.com/nektro/zig-range
38
39dev_dependencies:
38 - src: git https://github.com/marlersoft/zigwin3240 - src: git https://github.com/marlersoft/zigwin32