mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 13:51:47 +00:00
[bun build] Automatically set target to bun when a hashbang is provided
This commit is contained in:
@@ -400,6 +400,7 @@ pub const BuildCommand = struct {
|
||||
},
|
||||
},
|
||||
.encoding = .buffer,
|
||||
.mode = if (f.is_executable) 0o755 else 0o644,
|
||||
.dirfd = @intCast(bun.FileDescriptor, root_dir.dir.fd),
|
||||
.file = .{
|
||||
.path = JSC.Node.PathLike{
|
||||
|
||||
Reference in New Issue
Block a user