-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into renan/fix-short-params
- Loading branch information
Showing
282 changed files
with
18,023 additions
and
11,264 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.1.34 | ||
1.1.36 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
ARG IMAGE=debian:11 | ||
FROM $IMAGE | ||
COPY ./scripts/bootstrap.sh /tmp/bootstrap.sh | ||
ENV CI=true | ||
RUN sh /tmp/bootstrap.sh && rm -rf /tmp/* | ||
WORKDIR /workspace/bun | ||
COPY bunfig.toml bunfig.toml | ||
COPY package.json package.json | ||
COPY CMakeLists.txt CMakeLists.txt | ||
COPY cmake/ cmake/ | ||
COPY scripts/ scripts/ | ||
COPY patches/ patches/ | ||
COPY *.zig ./ | ||
COPY src/ src/ | ||
COPY packages/ packages/ | ||
COPY test/ test/ | ||
RUN bun i | ||
RUN bun run build:ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
|
||
# This script sets the hostname of the current machine. | ||
|
||
execute() { | ||
echo "$ $@" >&2 | ||
if ! "$@"; then | ||
echo "Command failed: $@" >&2 | ||
exit 1 | ||
fi | ||
} | ||
|
||
main() { | ||
if [ "$#" -ne 1 ]; then | ||
echo "Usage: $0 <hostname>" >&2 | ||
exit 1 | ||
fi | ||
|
||
if [ -f "$(which hostnamectl)" ]; then | ||
execute hostnamectl set-hostname "$1" | ||
else | ||
echo "Error: hostnamectl is not installed." >&2 | ||
exit 1 | ||
fi | ||
} | ||
|
||
main "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh | ||
|
||
# This script starts tailscale on the current machine. | ||
|
||
execute() { | ||
echo "$ $@" >&2 | ||
if ! "$@"; then | ||
echo "Command failed: $@" >&2 | ||
exit 1 | ||
fi | ||
} | ||
|
||
main() { | ||
if [ "$#" -ne 1 ]; then | ||
echo "Usage: $0 <auth-key>" >&2 | ||
exit 1 | ||
fi | ||
|
||
execute tailscale up --reset --ssh --accept-risk=lose-ssh --auth-key="$1" | ||
} | ||
|
||
main "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.