Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit d88c1f9

Browse files
authored
Add warning to use the core Jaguar. (#14)
1 parent 586a69e commit d88c1f9

File tree

4 files changed

+27
-10
lines changed

4 files changed

+27
-10
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
steps:
1212
- name: Set up Homebrew
1313
id: set-up-homebrew
14-
uses: Homebrew/actions/setup-homebrew@9afa04e53a8c4f8ae4f379bed5b92c4a3a26412e
14+
uses: Homebrew/actions/setup-homebrew@master
1515

1616
- name: Cache Homebrew Bundler RubyGems
1717
id: cache
18-
uses: actions/cache@v1
18+
uses: actions/cache@v4
1919
with:
2020
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
2121
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
@@ -29,7 +29,5 @@ jobs:
2929

3030
- run: brew test-bot --only-setup
3131

32-
- run: brew test-bot --only-tap-syntax
33-
3432
- run: brew test-bot --only-formulae
3533
if: github.event_name == 'pull_request'

.github/workflows/update_release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,31 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121

2222
- name: Version constant
2323
run: |
24-
VERSION=${{ github.event.inputs.version }}
24+
VERSION="${{ github.event.inputs.version }}"
2525
if [ "$VERSION" == "" ]; then
26-
VERSION=${{ github.event.client_payload.ref }}
26+
VERSION="${{ github.event.client_payload.ref }}"
2727
fi
2828
if [ "$VERSION" == "" ]; then
2929
echo "Couldn't determine version"
3030
exit 1
3131
fi
32-
ARTIFACT=$VERSION.tar.gz
32+
ARTIFACT="$VERSION.tar.gz"
3333
URL="https://github.com/toitlang/jaguar/archive/refs/tags/$ARTIFACT"
3434
echo "VERSION=$VERSION" >> $GITHUB_ENV
3535
echo "ARTIFACT=$ARTIFACT" >> $GITHUB_ENV
3636
echo "URL=$URL" >> $GITHUB_ENV
3737
3838
- name: Download artifact
3939
run: |
40-
wget $URL
40+
wget "$URL"
4141
4242
- name: Update files
4343
run: |
44-
SHA256=$(sha256sum $ARTIFACT | cut -d " " -f1)
44+
SHA256=$(sha256sum "$ARTIFACT" | cut -d " " -f1)
4545
sed -i "s/sha256 \".*/sha256 \"$SHA256\"/" Formula/jaguar.rb
4646
sed -i "s,url \"https:/.*,url \"$URL\"," Formula/jaguar.rb
4747
git diff

Aliases/jag

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../Formula/jaguar.rb

Formula/jaguar.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (C) 2025 Toit contributors
2+
# Use of this source code is governed by an MIT-style license that can be
3+
# found in the LICENSE file.
4+
5+
class Jaguar < Formula
6+
desc "Live reloading for your ESP32"
7+
homepage "https://github.com/toitlang/jaguar"
8+
url "https://github.com/toitlang/jaguar/archive/refs/tags/v1.48.0.tar.gz"
9+
sha256 "fb5a329ef5c166a791c84adf4a9c3c8003c974fe58384d428bde84baf1ec7493"
10+
license "MIT"
11+
head "https://github.com/toitlang/jaguar.git", branch: "main"
12+
disable! date: "2025-03-16", because: \
13+
"This formula has been migrated to Homebrew/core. Please run: brew install jaguar"
14+
15+
def install
16+
odie "This formula has been migrated to Homebrew/core. Please run: brew install jaguar"
17+
end
18+
end

0 commit comments

Comments
 (0)