| author | |
| committer | |
| log | dc368a6ed329e42436cc2d3d0b6aca30ac8c81b8 |
| tree | ed39be51f8fe703c2a34b4ff54160f715c0b5b30 |
| parent | 0a4089bcfe54be49c177a02ac87c4ccc09de443e |
4 files changed, 5 insertions(+), 3 deletions(-)
scripts/_common.zig+2| ... | @@ -3,6 +3,8 @@ const zfetch = @import("zfetch"); | ... | @@ -3,6 +3,8 @@ const zfetch = @import("zfetch"); |
| 3 | const fmtValueLiteral = @import("fmt-valueliteral").fmtValueLiteral; | 3 | const fmtValueLiteral = @import("fmt-valueliteral").fmtValueLiteral; |
| 4 | const ansi = @import("ansi"); | 4 | const ansi = @import("ansi"); |
| 5 | 5 | ||
| 6 | pub const version = "13.0.0"; | ||
| 7 | |||
| 6 | pub fn Main(comptime T: type) type { | 8 | pub fn Main(comptime T: type) type { |
| 7 | comptime std.debug.assert(@hasDecl(T, "source_url")); | 9 | comptime std.debug.assert(@hasDecl(T, "source_url")); |
| 8 | comptime std.debug.assert(@hasDecl(T, "dest_file")); | 10 | comptime std.debug.assert(@hasDecl(T, "dest_file")); |
scripts/arabic_shaping.zig+1-1| ... | @@ -2,7 +2,7 @@ const std = @import("std"); | ... | @@ -2,7 +2,7 @@ const std = @import("std"); |
| 2 | const common = @import("./_common.zig"); | 2 | const common = @import("./_common.zig"); |
| 3 | 3 | ||
| 4 | pub const default = common.Main(struct { | 4 | pub const default = common.Main(struct { |
| 5 | pub const source_url = "https://unicode.org/Public/UCD/latest/ucd/ArabicShaping.txt"; | 5 | pub const source_url = "https://unicode.org/Public/" ++ common.version ++ "/ucd/ArabicShaping.txt"; |
| 6 | 6 | ||
| 7 | pub const dest_file = "src/arabic_shaping.zig"; | 7 | pub const dest_file = "src/arabic_shaping.zig"; |
| 8 | 8 |
scripts/bidi_brackets.zig+1-1| ... | @@ -2,7 +2,7 @@ const std = @import("std"); | ... | @@ -2,7 +2,7 @@ const std = @import("std"); |
| 2 | const common = @import("./_common.zig"); | 2 | const common = @import("./_common.zig"); |
| 3 | 3 | ||
| 4 | pub const default = common.Main(struct { | 4 | pub const default = common.Main(struct { |
| 5 | pub const source_url = "https://unicode.org/Public/UCD/latest/ucd/BidiBrackets.txt"; | 5 | pub const source_url = "https://unicode.org/Public/" ++ common.version ++ "/ucd/BidiBrackets.txt"; |
| 6 | 6 | ||
| 7 | pub const dest_file = "src/bidi_brackets.zig"; | 7 | pub const dest_file = "src/bidi_brackets.zig"; |
| 8 | 8 |
scripts/blocks.zig+1-1| ... | @@ -2,7 +2,7 @@ const std = @import("std"); | ... | @@ -2,7 +2,7 @@ const std = @import("std"); |
| 2 | const common = @import("./_common.zig"); | 2 | const common = @import("./_common.zig"); |
| 3 | 3 | ||
| 4 | pub const default = common.Main(struct { | 4 | pub const default = common.Main(struct { |
| 5 | pub const source_url = "https://unicode.org/Public/UCD/latest/ucd/Blocks.txt"; | 5 | pub const source_url = "https://unicode.org/Public/" ++ common.version ++ "/ucd/Blocks.txt"; |
| 6 | 6 | ||
| 7 | pub const dest_file = "src/blocks.zig"; | 7 | pub const dest_file = "src/blocks.zig"; |
| 8 | 8 |