From 11a48061b0f52d36e0919a6d9a6d90d251141eb2 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Tue, 25 May 2021 20:37:43 +0200 Subject: Rename build steps --- build.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build.zig') diff --git a/build.zig b/build.zig index 18f0b6f..b9c837d 100644 --- a/build.zig +++ b/build.zig @@ -13,7 +13,7 @@ pub fn build(b: *std.build.Builder) !void { const version = "0.1.0-dev"; - const lib = b.addStaticLibrary("zats", "src/nkeys.zig"); + const lib = b.addStaticLibrary("nkeys", "src/nkeys.zig"); lib.setBuildMode(mode); lib.addBuildOption([:0]const u8, "version", try b.allocator.dupeZ(u8, version)); lib.install(); @@ -30,7 +30,7 @@ pub fn build(b: *std.build.Builder) !void { znk_tests.addPackagePath("nkeys", "src/nkeys.zig"); znk_tests.addBuildOption([:0]const u8, "version", try b.allocator.dupeZ(u8, version)); - const znk_test_step = b.step("znk-test", "Run znk tests"); + const znk_test_step = b.step("test-znk", "Run znk tests"); znk_test_step.dependOn(&znk_tests.step); const znk = b.addExecutable("znk", "tool/znk.zig"); @@ -50,6 +50,6 @@ pub fn build(b: *std.build.Builder) !void { znk_run_cmd.addArgs(args); } - const znk_run_step = b.step("znk-run", "Run znk"); + const znk_run_step = b.step("run-znk", "Run znk"); znk_run_step.dependOn(&znk_run_cmd.step); } -- cgit v1.2.3