Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ pub fn build(b: *std.Build) void {
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
.win32_manifest = b.path("src/rb.manifest"),
});

exe.root_module.addImport("clap", clap.module("clap"));
Expand Down
18 changes: 0 additions & 18 deletions scripts/release.zig
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ pub fn main() !void {
// Format version.zon
try formatVersionZon(allocator);

// Write rb.manifest
try writeRbManifest(allocator, version);

// Build the project
try buildProject(allocator);

Expand Down Expand Up @@ -79,21 +76,6 @@ fn formatVersionZon(allocator: std.mem.Allocator) !void {
_ = try child.spawnAndWait();
}

fn writeRbManifest(allocator: std.mem.Allocator, version: []const u8) !void {
const manifest_content = try std.fmt.allocPrint(allocator,
\\<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
\\<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
\\ <assemblyIdentity type="win32" name="RyuApp.Tools.Rb" version="{s}" />
\\</assembly>
\\
, .{version});
defer allocator.free(manifest_content);

const file = try fs.cwd().createFile("src/rb.manifest", .{});
defer file.close();
try file.writeAll(manifest_content);
}

fn buildProject(allocator: std.mem.Allocator) !void {
const argv = [_][]const u8{
"zig",
Expand Down
4 changes: 0 additions & 4 deletions src/rb.manifest

This file was deleted.