Skip to content

Commit

Permalink
feat: set CI/CD Zig version
Browse files Browse the repository at this point in the history
  • Loading branch information
tensorush committed Jul 13, 2024
1 parent e3d8d6e commit 2baac58
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ zig build exe -- -h
- README with badges.
- `build.zig.zon`.

- #### [MIT license template](src/templates/LICENSE.md).
- #### [MIT license template](src/templates/LICENSE).

- #### [`.gitattributes`](src/templates/.gitattributes).

Expand All @@ -44,4 +44,4 @@ zig build exe -- -h
[ci-shd]: https://img.shields.io/github/actions/workflow/status/tensorush/liza/ci.yaml?branch=main&style=for-the-badge&logo=github&label=CI&labelColor=black
[ci-url]: https://github.com/tensorush/liza/blob/main/.github/workflows/ci.yaml
[lc-shd]: https://img.shields.io/github/license/tensorush/liza.svg?style=for-the-badge&labelColor=black
[lc-url]: https://github.com/tensorush/liza/blob/main/LICENSE.md
[lc-url]: https://github.com/tensorush/liza/blob/main/LICENSE
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});
const root_source_file = b.path("src/main.zig");
const version = std.SemanticVersion{ .major = 0, .minor = 3, .patch = 0 };
const version = std.SemanticVersion{ .major = 0, .minor = 4, .patch = 0 };

// Dependencies
const clap_dep = b.dependency("clap", .{
Expand Down
3 changes: 1 addition & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.{
.name = "liza",
.version = "0.3.0",
.version = "0.4.0",
.minimum_zig_version = "0.13.0",
.dependencies = .{
.clap = .{
Expand All @@ -12,7 +12,6 @@
"src/",
"build.zig",
"build.zig.zon",

"LICENSE",
"README.md",
},
Expand Down
2 changes: 1 addition & 1 deletion src/liza.zig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const std = @import("std");

// Common paths.
const LICENSE_PATH = "LICENSE.md";
const LICENSE_PATH = "LICENSE";
const CD_WORKFLOW_PATH = "cd.yaml";
const CI_WORKFLOW_PATH = "ci.yaml";
const GITIGNORE_PATH = ".gitignore";
Expand Down
2 changes: 1 addition & 1 deletion src/templates/exe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ zig build exe -- -h
[cc-shd]: https://img.shields.io/codecov/c/github/?h/?t?style=for-the-badge&labelColor=black
[cc-url]: https://app.codecov.io/gh/?h/?t
[lc-shd]: https://img.shields.io/github/license/?h/?t.svg?style=for-the-badge&labelColor=black
[lc-url]: https://github.com/?h/?t/blob/main/LICENSE.md
[lc-url]: https://github.com/?h/?t/blob/main/LICENSE
4 changes: 2 additions & 2 deletions src/templates/exe/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
.paths = .{
"src/",
"build.zig",
"README.md",
"LICENSE.md",
"build.zig.zon",
"LICENSE",
"README.md",
},
}
2 changes: 1 addition & 1 deletion src/templates/lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@
[cc-shd]: https://img.shields.io/codecov/c/github/?h/?t?style=for-the-badge&labelColor=black
[cc-url]: https://app.codecov.io/gh/?h/?t
[lc-shd]: https://img.shields.io/github/license/?h/?t.svg?style=for-the-badge&labelColor=black
[lc-url]: https://github.com/?h/?t/blob/main/LICENSE.md
[lc-url]: https://github.com/?h/?t/blob/main/LICENSE
1 change: 0 additions & 1 deletion src/templates/lib/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"examples/",
"build.zig",
"build.zig.zon",

"LICENSE",
"README.md",
},
Expand Down

0 comments on commit 2baac58

Please sign in to comment.