Skip to content

Commit 342f6e6

Browse files
authored
chore(rnr): update rnr to v0.1.1 (#267)
1 parent c757a50 commit 342f6e6

7 files changed

Lines changed: 4 additions & 2 deletions

File tree

.rnr/bin/rnr-linux-amd64

-111 KB
Binary file not shown.

.rnr/bin/rnr-macos-amd64

-85.2 KB
Binary file not shown.

.rnr/bin/rnr-macos-arm64

-82 KB
Binary file not shown.

.rnr/bin/rnr-windows-amd64.exe

-97.5 KB
Binary file not shown.

.rnr/bin/rnr-windows-arm64.exe

-84.5 KB
Binary file not shown.

.rnr/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.1.0
1+
version: 0.1.1
22
platforms:
33
- linux-amd64
44
- macos-amd64

rnr

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ set -e
33

44
# Detect OS
55
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
6+
EXT=""
67
case "$OS" in
78
linux*) OS="linux" ;;
89
darwin*) OS="macos" ;;
10+
mingw*|msys*|cygwin*) OS="windows"; EXT=".exe" ;;
911
*) echo "Error: Unsupported OS: $OS" >&2; exit 1 ;;
1012
esac
1113

@@ -17,7 +19,7 @@ case "$ARCH" in
1719
*) echo "Error: Unsupported architecture: $ARCH" >&2; exit 1 ;;
1820
esac
1921

20-
BINARY="$(dirname "$0")/.rnr/bin/rnr-${OS}-${ARCH}"
22+
BINARY="$(dirname "$0")/.rnr/bin/rnr-${OS}-${ARCH}${EXT}"
2123

2224
if [ ! -f "$BINARY" ]; then
2325
echo "Error: rnr is not configured for ${OS}-${ARCH}." >&2

0 commit comments

Comments
 (0)