~rockorager/comlink

comlink: build: install lua definition file v1 PROPOSED

Tim Culverhouse: 1
 build: install lua definition file

 1 files changed, 1 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~rockorager/comlink/patches/54115/mbox | git am -3
Learn more about email & git

[PATCH comlink] build: install lua definition file Export this patch

Install lua definition file to PREFIX/share/comlink/lua/comlink.lua

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
---
 build.zig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build.zig b/build.zig
index e5a1a0f40168..1883f8ff224b 100644
--- a/build.zig
@@ -38,6 +38,7 @@ pub fn build(b: *std.Build) void {
    exe.root_module.addImport("zeit", zeit_dep.module("zeit"));

    b.installArtifact(exe);
    b.installFile("docs/comlink.lua", "share/comlink/lua/comlink.lua");

    const run_cmd = b.addRunArtifact(exe);
    run_cmd.step.dependOn(b.getInstallStep());
-- 
2.45.2
Seems like a reasonable location.

Reviewed-by: Tristan Partin <tristan@partin.io>