Update Jetzig
This commit is contained in:
parent
8a5666c4e9
commit
f0c43c7eef
3 changed files with 6 additions and 8 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,5 +1,5 @@
|
|||
zig-out/
|
||||
zig-cache/
|
||||
.zig-cache/
|
||||
*.core
|
||||
static/
|
||||
.jetzig
|
||||
|
|
|
|||
|
|
@ -7,14 +7,12 @@ pub fn build(b: *std.Build) !void {
|
|||
|
||||
const exe = b.addExecutable(.{
|
||||
.name = "zuletzt",
|
||||
.root_source_file = .{ .path = "src/main.zig" },
|
||||
.root_source_file = b.path("src/main.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
});
|
||||
|
||||
// Example dependency:
|
||||
const iguanas_dep = b.dependency("iguanas", .{ .optimize = optimize, .target = target });
|
||||
exe.root_module.addImport("iguanas", iguanas_dep.module("iguanas"));
|
||||
|
||||
// All dependencies **must** be added to imports above this line.
|
||||
|
||||
|
|
@ -31,7 +29,7 @@ pub fn build(b: *std.Build) !void {
|
|||
run_step.dependOn(&run_cmd.step);
|
||||
|
||||
const lib_unit_tests = b.addTest(.{
|
||||
.root_source_file = .{ .path = "src/main.zig" },
|
||||
.root_source_file = b.path("src/main.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
});
|
||||
|
|
@ -39,7 +37,7 @@ pub fn build(b: *std.Build) !void {
|
|||
const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests);
|
||||
|
||||
const exe_unit_tests = b.addTest(.{
|
||||
.root_source_file = .{ .path = "src/main.zig" },
|
||||
.root_source_file = b.path("src/main.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
// internet connectivity.
|
||||
.dependencies = .{
|
||||
.jetzig = .{
|
||||
.url = "https://github.com/jetzig-framework/jetzig/archive/31e8ae36e1d7f68166114eefb867c23df352d537.tar.gz",
|
||||
.hash = "1220d368ce21549ccd721d5f303888986fff5714835b1f266a62e329f85eabec8f19",
|
||||
.url = "https://github.com/jetzig-framework/jetzig/archive/dda433bb73000614482af10a277d47dc9d89600c.tar.gz",
|
||||
.hash = "12202ce84b803a8b300c91d98afbc7c326298b55a23bf05cf603182e934b621008ec",
|
||||
},
|
||||
.iguanas = .{
|
||||
.url = "https://github.com/jetzig-framework/iguanas/archive/89c2abf29de0bc31054a9a6feac5a6a83bab0459.tar.gz",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue