mirror of
https://github.com/bdnugget/zig-template.git
synced 2026-11-07 09:07:34 +00:00
Update build.zig
This commit is contained in:
1 parent
cbb4ad688b
commit
52dc971bc2
1 file changed
+2
-2
@@ -13,8 +13,8 @@ pub fn build(b: *std.build.Builder) !void {
|
||||
const mode = b.standardReleaseOptions();
|
||||
|
||||
const exe = b.addExecutable("zgt-template", "src/main.zig");
|
||||
const pathToZgt = ".zigmod/deps/git/github.com/zenith391/zgt/";
|
||||
try deps.imports.zgt.install(exe, pathToZgt);
|
||||
const pathToCapy = ".zigmod/deps/git/github.com/zenith391/capy/";
|
||||
try deps.imports.capy.install(exe, pathToCapy);
|
||||
exe.setTarget(target);
|
||||
exe.setBuildMode(mode);
|
||||
exe.install();
|
||||
|
||||
Reference in new issue
Block a user