Skip to content

Commit e393ea0

Browse files
committed
update code
1 parent e6063e9 commit e393ea0

File tree

17 files changed

+37
-23
lines changed

17 files changed

+37
-23
lines changed

build/0.11.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ pub fn build(b: *Build) void {
2222
// open dir
2323
var dir =
2424
std.fs.openIterableDirAbsolute(full_path, .{}) catch |err| {
25-
log.err("open 11 path failed, err is {}", .{err});
26-
std.os.exit(1);
27-
};
25+
log.err("open 11 path failed, err is {}", .{err});
26+
std.os.exit(1);
27+
};
2828
defer dir.close();
2929

3030
// make a iterate for path

course/code/14/build_system/basic/build.zig.zon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
//
77
// It is redundant to include "zig" in this name because it is already
88
// within the Zig package namespace.
9-
.name = "basic",
9+
.name = .basic,
1010

1111
// This is a [Semantic Version](https://semver.org/).
1212
// In a future version of Zig it will be used for package deduplication.
1313
.version = "0.0.0",
14+
.fingerprint = 0x907975534fe79435,
1415

1516
// This field is optional.
1617
// This is currently advisory only; Zig does not yet do anything

course/code/14/build_system/cli/build.zig.zon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
//
77
// It is redundant to include "zig" in this name because it is already
88
// within the Zig package namespace.
9-
.name = "cli",
9+
.name = .cli,
1010

1111
// This is a [Semantic Version](https://semver.org/).
1212
// In a future version of Zig it will be used for package deduplication.
1313
.version = "0.0.0",
14+
.fingerprint = 0x48f6513c15de5e44,
1415

1516
// This field is optional.
1617
// This is currently advisory only; Zig does not yet do anything

course/code/14/build_system/docs/build.zig.zon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
//
77
// It is redundant to include "zig" in this name because it is already
88
// within the Zig package namespace.
9-
.name = "docs",
9+
.name = .docs,
1010

1111
// This is a [Semantic Version](https://semver.org/).
1212
// In a future version of Zig it will be used for package deduplication.
1313
.version = "0.0.0",
14+
.fingerprint = 0x51572bb73db54779,
1415

1516
// This field is optional.
1617
// This is currently advisory only; Zig does not yet do anything

course/code/14/build_system/embedfile/build.zig.zon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
//
77
// It is redundant to include "zig" in this name because it is already
88
// within the Zig package namespace.
9-
.name = "embedfile",
9+
.name = .embedfile,
1010

1111
// This is a [Semantic Version](https://semver.org/).
1212
// In a future version of Zig it will be used for package deduplication.
1313
.version = "0.0.0",
14+
.fingerprint = 0x3e6a9e8b250bb664,
1415

1516
// This field is optional.
1617
// This is currently advisory only; Zig does not yet do anything

course/code/14/build_system/externalfile/build.zig.zon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
//
77
// It is redundant to include "zig" in this name because it is already
88
// within the Zig package namespace.
9-
.name = "externalfile",
9+
.name = .externalfile,
1010

1111
// This is a [Semantic Version](https://semver.org/).
1212
// In a future version of Zig it will be used for package deduplication.
1313
.version = "0.0.0",
14+
.fingerprint = 0x61de81227ca0d23c,
1415

1516
// This field is optional.
1617
// This is currently advisory only; Zig does not yet do anything

course/code/14/build_system/lib/build.zig.zon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
//
77
// It is redundant to include "zig" in this name because it is already
88
// within the Zig package namespace.
9-
.name = "library",
9+
.name = .library,
1010

1111
// This is a [Semantic Version](https://semver.org/).
1212
// In a future version of Zig it will be used for package deduplication.
1313
.version = "0.0.0",
14+
.fingerprint = 0xa18098bc77aad8e8,
1415

1516
// This field is optional.
1617
// This is currently advisory only; Zig does not yet do anything

course/code/14/build_system/options/build.zig.zon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
//
77
// It is redundant to include "zig" in this name because it is already
88
// within the Zig package namespace.
9-
.name = "options",
9+
.name = .options,
1010

1111
// This is a [Semantic Version](https://semver.org/).
1212
// In a future version of Zig it will be used for package deduplication.
1313
.version = "0.0.0",
14+
.fingerprint = 0xd035fa8769f41b1a,
1415

1516
// This field is optional.
1617
// This is currently advisory only; Zig does not yet do anything

course/code/14/build_system/step/build.zig.zon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
//
77
// It is redundant to include "zig" in this name because it is already
88
// within the Zig package namespace.
9-
.name = "step",
9+
.name = .step,
1010

1111
// This is a [Semantic Version](https://semver.org/).
1212
// In a future version of Zig it will be used for package deduplication.
1313
.version = "0.0.0",
14+
.fingerprint = 0x43b9fe3c8067cab6,
1415

1516
// This field is optional.
1617
// This is currently advisory only; Zig does not yet do anything

course/code/14/build_system/system_lib/build.zig.zon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
//
77
// It is redundant to include "zig" in this name because it is already
88
// within the Zig package namespace.
9-
.name = "system_lib",
9+
.name = .system_lib,
1010

1111
// This is a [Semantic Version](https://semver.org/).
1212
// In a future version of Zig it will be used for package deduplication.
1313
.version = "0.0.0",
14+
.fingerprint = 0x64b791172db5c549,
1415

1516
// This field is optional.
1617
// This is currently advisory only; Zig does not yet do anything

0 commit comments

Comments
 (0)