@@ -105,8 +105,13 @@ fn copyFile(allocator: std.mem.Allocator, from: []const u8, to: []const u8) !voi
105105}
106106
107107const root_template =
108- \\pub const zup = @import("zup");
109- \\pub usingnamespace zup;
108+ \\const zup = @import("zup");
109+ \\
110+ \\pub const core = zup.core;
111+ \\pub const framework = zup.framework;
112+ \\pub const schema = zup.schema;
113+ \\pub const runtime_router = zup.runtime_router;
114+ \\pub const grpc_router = zup.grpc_router;
110115;
111116
112117const grpc_main_template =
@@ -189,10 +194,6 @@ const build_template =
189194 \\}
190195;
191196
192- const build_zon_template =
193- \\.{{
194- \\ .name = "{s}",
195- \\ .version = "0.1.0",
196197const build_zon_template =
197198 \\.{{
198199 \\ .name = "{s}",
@@ -204,7 +205,8 @@ const build_zon_template =
204205 \\ }},
205206 \\ .dependencies = .{{
206207 \\ .zup = .{{
207- \\ .path = "..",
208+ \\ .url = "https://github.com/openSVM/zup/archive/main.tar.gz",
209+ \\ .hash = "1220bc3ba76ebbba7f90b363409144a85b24ee584cde5139646a5c2038c09f4a3bfb",
208210 \\ }},
209211 \\ }},
210212 \\}}
@@ -213,6 +215,10 @@ const build_zon_template =
213215fn generateGrpcBoilerplate (allocator : std.mem.Allocator , project_name : []const u8 ) ! void {
214216 print ("Generating gRPC boilerplate for project '{s}'...\n " , .{project_name });
215217
218+ // Create project directory
219+ try createDirectory (project_name );
220+
221+
216222 // Create project directory
217223 try createDirectory (project_name );
218224
0 commit comments