File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11cask "sbx" do
2- version "0.23.0 "
3- sha256 "5d6472034f93eccfb853b5a7241b66592b8bd6fa9c97043e9fbc7323b986f003 "
2+ version "0.24.1 "
3+ sha256 "d96459de37a65f56454704866f2e8c83dd1814ab29adc32461bebf1bf70f474e "
44
55 url "https://github.com/docker/sbx-releases/releases/download/v#{ version } /DockerSandboxes-darwin.tar.gz"
66 name "Docker Sandboxes"
Original file line number Diff line number Diff line change 1+ cask "sbx@0.24.1" do
2+ version "0.24.1"
3+ sha256 "d96459de37a65f56454704866f2e8c83dd1814ab29adc32461bebf1bf70f474e"
4+
5+ url "https://github.com/docker/sbx-releases/releases/download/v#{ version } /DockerSandboxes-darwin.tar.gz"
6+ name "Docker Sandboxes"
7+ desc "Build, run, and govern agents across the software development lifecycle"
8+ homepage "https://github.com/docker/sbx-releases"
9+
10+ depends_on arch : :arm64 ,
11+ macos : ">= :tahoe"
12+
13+ binary "bin/sbx" , target : "sbx-0.24.1"
14+ bash_completion "completions/bash/sbx" , target : "sbx-0.24.1"
15+ fish_completion "completions/fish/sbx.fish" , target : "sbx-0.24.1.fish"
16+ zsh_completion "completions/zsh/_sbx" , target : "_sbx-0.24.1"
17+
18+ uninstall_preflight do
19+ sbx_binary = "#{ caskroom_path } /#{ version } /bin/sbx"
20+ next unless File . exist? ( sbx_binary )
21+
22+ system_command sbx_binary ,
23+ args : [ "daemon" , "stop" ] ,
24+ print_stderr : false
25+ end
26+
27+ caveats <<~EOS
28+ Since a version-specific cask was installed, the binary to use is: sbx-#{ version }
29+ Note: Prompt for update will be disabled for version-specific installations.
30+ EOS
31+ end
You can’t perform that action at this time.
0 commit comments