-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
376 changed files
with
24,831 additions
and
12,529 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.37 |
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.