Skip to content

Commit 5236a10

Browse files
committed
Expose content dir and set shell file
1 parent d39fc66 commit 5236a10

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ pub fn emccStep(
132132
use_preload_plugins: bool = false,
133133
embed_paths: ?[]const EmccFilePath = null,
134134
preload_paths: ?[]const EmccFilePath = null,
135-
shell_file_path: ?[]const u8 = null,
135+
shell_file_path: ?[]const u8 = "content/shell_minimal.html",
136136
install_dir: std.Build.InstallDir,
137137
},
138138
) *std.Build.Step {

build.zig.zon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
.{
22
.name = "zemscripten",
3-
.version = "0.2.0-dev",
3+
.version = "0.2.1-dev",
44
.paths = .{
55
"build.zig",
66
"build.zig.zon",
77
"src",
8+
"content",
89
"LICENSE",
910
"README.md",
1011
},

0 commit comments

Comments
 (0)