Skip to content

Commit 4bd40b9

Browse files
committed
feat(formula): add paneru
1 parent 7877162 commit 4bd40b9

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,16 @@ jobs:
8888
brew install Formula/clavy.rb --HEAD
8989
clavy --help
9090
91+
paneru-head:
92+
runs-on: macos-latest
93+
steps:
94+
- uses: actions/checkout@v5
95+
- name: Test install
96+
run: |
97+
brew update
98+
brew install Formula/paneru.rb --HEAD
99+
paneru --help
100+
91101
ouverture:
92102
runs-on: macos-latest
93103
steps:

Formula/paneru.rb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# typed: false
2+
# frozen_string_literal: true
3+
4+
class Paneru < Formula
5+
desc "A sliding, tiling window manager for MacOS."
6+
homepage "https://github.com/karinushka/paneru"
7+
version "0.1.0"
8+
license "MIT"
9+
depends_on :macos
10+
11+
url "https://github.com/karinushka/paneru/releases/download/v#{version}/paneru_darwin_universal2.tar.gz"
12+
13+
def install
14+
if build.head? then
15+
system "cargo", "install", *std_cargo_args
16+
else
17+
bin.install "paneru"
18+
end
19+
end
20+
21+
head "https://github.com/karinushka/paneru.git"
22+
23+
head do
24+
depends_on "rust" => :build
25+
end
26+
27+
test do
28+
system "#{bin}/paneru --help"
29+
end
30+
end

0 commit comments

Comments
 (0)