Zig bindings for orca (still WIP) #140
|
@ -1,4 +1,4 @@
|
||||||
Calc
|
Sample
|
||||||
zig-out
|
zig-out
|
||||||
zig-cache
|
zig-cache
|
||||||
liborca.a
|
liborca.a
|
|
@ -93,7 +93,7 @@ pub fn build(b: *std.Build) !void {
|
||||||
b.installArtifact(wasm_lib);
|
b.installArtifact(wasm_lib);
|
||||||
|
|
||||||
// Runs the orca build command
|
// Runs the orca build command
|
||||||
const bundle_cmd_str = [_][]const u8{ "orca", "bundle", "--orca-dir", "../..", "--name", "Calc", "--icon", "icon.png", "--resource-dir", "data", "zig-out/lib/module.wasm" };
|
const bundle_cmd_str = [_][]const u8{ "orca", "bundle", "--orca-dir", "../..", "--name", "Sample", "--icon", "icon.png", "--resource-dir", "data", "zig-out/lib/module.wasm" };
|
||||||
var bundle_cmd = b.addSystemCommand(&bundle_cmd_str);
|
var bundle_cmd = b.addSystemCommand(&bundle_cmd_str);
|
||||||
bundle_cmd.step.dependOn(b.getInstallStep());
|
bundle_cmd.step.dependOn(b.getInstallStep());
|
||||||
|
|
After Width: | Height: | Size: 2.7 KiB |
Loading…
Reference in New Issue