File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2222 - uses : actions/checkout@v4
2323 - uses : goto-bus-stop/setup-zig@v2
2424 with :
25- version : 0.12 .0
25+ version : 0.13 .0
2626 - name : Build
2727 run : zig build docs
2828 - name : Upload
Original file line number Diff line number Diff line change 1818 submodules : true
1919 - uses : goto-bus-stop/setup-zig@v2
2020 with :
21- version : 0.12 .0
21+ version : 0.13 .0
2222 - name : Build
2323 run : zig build test
Original file line number Diff line number Diff line change 1- zig-cache /
1+ . zig-cache /
22zig-out /
33deps.zig
44gyro.lock
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ This was originally code which was extracted from
88[ lscolors] ( https://github.com/ziglibs/lscolors ) for use in
99other zig libraries. More features have been added since.
1010
11- ` ansi-term ` is designed to work with Zig 0.12 .0.
11+ ` ansi-term ` is designed to work with Zig 0.13 .0.
1212
1313## Documentation
1414
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ pub fn build(b: *Build) void {
55 const optimize = b .standardOptimizeOption (.{});
66
77 _ = b .addModule ("ansi-term" , .{
8- .root_source_file = .{ . path = "src/main.zig" } ,
8+ .root_source_file = b . path ( "src/main.zig" ) ,
99 });
1010
1111 var main_tests = b .addTest (.{
12- .root_source_file = .{ . path = "src/main.zig" } ,
12+ .root_source_file = b . path ( "src/main.zig" ) ,
1313 .target = target ,
1414 .optimize = optimize ,
1515 });
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const csi = esc ++ "[";
1212
1313const reset = csi ++ "0m" ;
1414
15- const font_style_codes = std .ComptimeStringMap ([]const u8 , .{
15+ const font_style_codes = std .StaticStringMap ([]const u8 ). initComptime ( .{
1616 .{ "bold" , "1" },
1717 .{ "dim" , "2" },
1818 .{ "italic" , "3" },
You can’t perform that action at this time.
0 commit comments