aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.zig6
-rw-r--r--gyro.zzz4
-rw-r--r--src/main.zig (renamed from src/lib.zig)0
-rw-r--r--zig.mod2
4 files changed, 6 insertions, 6 deletions
diff --git a/build.zig b/build.zig
index b621d09..8d3b813 100644
--- a/build.zig
+++ b/build.zig
@@ -4,7 +4,7 @@ pub fn build(b: *std.build.Builder) !void {
4 const mode = b.standardReleaseOptions(); 4 const mode = b.standardReleaseOptions();
5 const target = b.standardTargetOptions(.{}); 5 const target = b.standardTargetOptions(.{});
6 6
7 var lib_tests = b.addTest("src/lib.zig"); 7 var lib_tests = b.addTest("src/main.zig");
8 lib_tests.setBuildMode(mode); 8 lib_tests.setBuildMode(mode);
9 9
10 const test_step = b.step("test", "Run library tests"); 10 const test_step = b.step("test", "Run library tests");
@@ -14,7 +14,7 @@ pub fn build(b: *std.build.Builder) !void {
14 14
15 var znk_tests = b.addTest("tool/znk.zig"); 15 var znk_tests = b.addTest("tool/znk.zig");
16 znk_tests.setBuildMode(mode); 16 znk_tests.setBuildMode(mode);
17 znk_tests.addPackagePath("nkeys", "src/lib.zig"); 17 znk_tests.addPackagePath("nkeys", "src/main.zig");
18 znk_tests.addBuildOption([]const u8, "version", znk_version); 18 znk_tests.addBuildOption([]const u8, "version", znk_version);
19 19
20 const znk_test_step = b.step("test-znk", "Run znk tests"); 20 const znk_test_step = b.step("test-znk", "Run znk tests");
@@ -23,7 +23,7 @@ pub fn build(b: *std.build.Builder) !void {
23 const znk = b.addExecutable("znk", "tool/znk.zig"); 23 const znk = b.addExecutable("znk", "tool/znk.zig");
24 znk.setBuildMode(mode); 24 znk.setBuildMode(mode);
25 znk.setTarget(target); 25 znk.setTarget(target);
26 znk.addPackagePath("nkeys", "src/lib.zig"); 26 znk.addPackagePath("nkeys", "src/main.zig");
27 znk.addBuildOption([]const u8, "version", znk_version); 27 znk.addBuildOption([]const u8, "version", znk_version);
28 28
29 const znk_install = b.addInstallArtifact(znk); 29 const znk_install = b.addInstallArtifact(znk);
diff --git a/gyro.zzz b/gyro.zzz
index 97276e9..2aa6130 100644
--- a/gyro.zzz
+++ b/gyro.zzz
@@ -1,13 +1,13 @@
1pkgs: 1pkgs:
2 nkeys: 2 nkeys:
3 version: 0.1.1 3 version: 0.2.0
4 description: "NKeys support for Zig" 4 description: "NKeys support for Zig"
5 license: Apache-2.0 5 license: Apache-2.0
6 source_url: "https://github.com/rutgerbrf/zig-nkeys" 6 source_url: "https://github.com/rutgerbrf/zig-nkeys"
7 tags: 7 tags:
8 nats 8 nats
9 9
10 root: src/lib.zig 10 root: src/main.zig
11 files: 11 files:
12 README.md 12 README.md
13 LICENSE 13 LICENSE
diff --git a/src/lib.zig b/src/main.zig
index 23f0e05..23f0e05 100644
--- a/src/lib.zig
+++ b/src/main.zig
diff --git a/zig.mod b/zig.mod
index 8663e5b..edb1a8f 100644
--- a/zig.mod
+++ b/zig.mod
@@ -1,5 +1,5 @@
1id: vuocvcwmrmaabg3x916i1wnir9c6vuwqv6uwbm7rn5ks9vab 1id: vuocvcwmrmaabg3x916i1wnir9c6vuwqv6uwbm7rn5ks9vab
2name: nkeys 2name: nkeys
3main: src/lib.zig 3main: src/main.zig
4license: Apache-2.0 4license: Apache-2.0
5dependencies: 5dependencies: