mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 11:00:36 +00:00
perf: use exec in unix bin linkers
This commit is contained in:
parent
49a42dc931
commit
6d8731f1e5
2 changed files with 5 additions and 1 deletions
|
@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
### Performance
|
||||||
|
- Use `exec` in Unix bin linking to reduce the number of processes by @daimond113
|
||||||
|
|
||||||
## [0.5.0-rc.16] - 2024-12-08
|
## [0.5.0-rc.16] - 2024-12-08
|
||||||
### Fixed
|
### Fixed
|
||||||
- Do not require lib or bin exports if package exports scripts by @daimond113
|
- Do not require lib or bin exports if package exports scripts by @daimond113
|
||||||
|
|
|
@ -257,7 +257,7 @@ impl InstallCommand {
|
||||||
fs::write(
|
fs::write(
|
||||||
&bin_exec_file,
|
&bin_exec_file,
|
||||||
format!(r#"#!/bin/sh
|
format!(r#"#!/bin/sh
|
||||||
lune run "$(dirname "$0")/.impl/{alias}.luau" -- "$@""#
|
exec lune run "$(dirname "$0")/.impl/{alias}.luau" -- "$@""#
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
|
|
Loading…
Reference in a new issue