Skip to content

Commit a55da72

Browse files
committed
0.0.1
1 parent 9125836 commit a55da72

2 files changed

Lines changed: 37 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ jobs:
1010
test-bot:
1111
strategy:
1212
matrix:
13-
os: [ ubuntu-22.04, macos-15-intel, macos-26 ]
13+
os:
14+
- ubuntu-22.04
15+
# - macos-15-intel
16+
- macos-26
1417
runs-on: ${{ matrix.os }}
1518
permissions:
1619
actions: read
@@ -35,7 +38,10 @@ jobs:
3538

3639
- run: brew test-bot --only-setup
3740

38-
- run: brew test-bot --only-tap-syntax
41+
- run: brew style pinc-official/tap
42+
43+
- run: brew audit --except=installed --tap=pinc-official/tap
44+
3945
- run: brew test-bot --only-formulae
4046
if: github.event_name == 'pull_request'
4147

Formula/pinc.rb

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
class Pinc < Formula
2+
desc "Component based CMS with git like principles"
3+
homepage "https://github.com/pinc-official/pinc-playground"
4+
license "MIT"
5+
6+
depends_on "vips"
7+
8+
on_macos do
9+
on_arm do
10+
url "https://github.com/pinc-official/homebrew-tap/releases/download/0.0.1/pinc-0.0.1-aarch64-macos.tar.gz"
11+
sha256 "d84959b4090bbb7dc9a1413cd932732d0c9acd4deb3e15cde19a7d91a409744e"
12+
end
13+
end
14+
15+
on_linux do
16+
on_intel do
17+
url "https://github.com/pinc-official/homebrew-tap/releases/download/0.0.1/pinc-0.0.1-x86_64-linux-gnu.tar.gz"
18+
sha256 "e90baf58e8ae907c1c98714a2a2acd094753007210054b7cd3e64ec94e19b1ad"
19+
end
20+
end
21+
22+
def install
23+
bin.install "bin/pinc"
24+
end
25+
26+
test do
27+
system "#{bin}/pinc", "--version"
28+
end
29+
end

0 commit comments

Comments
 (0)