| ... | @@ -4796,7 +4796,8 @@ fn cmdInit(gpa: Allocator, arena: Allocator, args: []const []const u8) !void { | ... | @@ -4796,7 +4796,8 @@ fn cmdInit(gpa: Allocator, arena: Allocator, args: []const []const u8) !void { |
| 4796 | writeSimpleTemplateFile(Package.Manifest.basename, | 4796 | writeSimpleTemplateFile(Package.Manifest.basename, |
| 4797 | \\.{{ | 4797 | \\.{{ |
| 4798 | \\ .name = .{s}, | 4798 | \\ .name = .{s}, |
| 4799 | \\ .version = "{s}", | 4799 | \\ .version = "0.0.1", |
| | 4800 | \\ .minimum_zig_version = "{s}", |
| 4800 | \\ .paths = .{{""}}, | 4801 | \\ .paths = .{{""}}, |
| 4801 | \\ .fingerprint = 0x{x}, | 4802 | \\ .fingerprint = 0x{x}, |
| 4802 | \\}} | 4803 | \\}} |
| ... | @@ -4811,6 +4812,7 @@ fn cmdInit(gpa: Allocator, arena: Allocator, args: []const []const u8) !void { | ... | @@ -4811,6 +4812,7 @@ fn cmdInit(gpa: Allocator, arena: Allocator, args: []const []const u8) !void { |
| 4811 | }; | 4812 | }; |
| 4812 | writeSimpleTemplateFile(Package.build_zig_basename, | 4813 | writeSimpleTemplateFile(Package.build_zig_basename, |
| 4813 | \\const std = @import("std"); | 4814 | \\const std = @import("std"); |
| | 4815 | \\ |
| 4814 | \\pub fn build(b: *std.Build) void {{ | 4816 | \\pub fn build(b: *std.Build) void {{ |
| 4815 | \\ _ = b; // stub | 4817 | \\ _ = b; // stub |
| 4816 | \\}} | 4818 | \\}} |