Skip to content

Commit

Permalink
Add 0.1.87
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbayley committed Dec 20, 2024
1 parent 650f4ae commit b19fa13
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Works on Mac and Linux for Intel and ARM.

```
$ brew install yaml/yamlscript/ys
$ brew install yaml/yamlscript/[email protected].86
$ brew install yaml/yamlscript/[email protected].87
```
10 changes: 5 additions & 5 deletions ys.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class Ys < Formula
version = '0.1.86'
version = '0.1.87'

sha_lin_arm = '6a0682546dd3837d9db73624b7d8d0506e9160c5deb10341e3b292afccd30ebb'
sha_lin_int = 'c95cbf3a7a1e1fcf5b3da32152ea4ccf019445ed408e7ca40e1a4dcc824618a7'
sha_mac_arm = '4fd0ee35d9d73e6c7578f05447a977767116419874af38a10f450221409b36ba'
sha_mac_int = 'b028cb93843e0563101b22f36b342f949ac50ed481a95a71c98142a87c46461f'
sha_lin_arm = '7f795d3abdc0d716d4048c2433ed944334dbaba55376c5c3015490fef990aa55'
sha_lin_int = 'f1f3c6351413e5bf8eb04d19cf94444e0c26d7d98a3a0be3c1bae632378bc43c'
sha_mac_arm = 'fd26ff63616287063538c375e7494a0b5f70a679c4f32a72dd2a0e8d4f924492'
sha_mac_int = 'ac99a7d205a227dd98ccd2fd4daf391a0a3b471792a9eedcebf1efe616e766eb'

download = 'https://github.com/yaml/yamlscript/releases/download'

Expand Down
50 changes: 50 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
class YsAT0187 < Formula
version = '0.1.87'

sha_lin_arm = '7f795d3abdc0d716d4048c2433ed944334dbaba55376c5c3015490fef990aa55'
sha_lin_int = 'f1f3c6351413e5bf8eb04d19cf94444e0c26d7d98a3a0be3c1bae632378bc43c'
sha_mac_arm = 'fd26ff63616287063538c375e7494a0b5f70a679c4f32a72dd2a0e8d4f924492'
sha_mac_int = 'ac99a7d205a227dd98ccd2fd4daf391a0a3b471792a9eedcebf1efe616e766eb'

download = 'https://github.com/yaml/yamlscript/releases/download'

desc "Program in YAML — Code is Data"
homepage "https://github.com/yaml/yamlscript"
version version
license "MIT"

on_linux do
if Hardware::CPU.arm?
url "#{download}/#{version}/ys-#{version}-linux-aarch64.tar.xz"
sha256 sha_lin_arm
end

if Hardware::CPU.intel?
url "#{download}/#{version}/ys-#{version}-linux-x64.tar.xz"
sha256 sha_lin_int
end
end

on_macos do
if Hardware::CPU.arm?
url "#{download}/#{version}/ys-#{version}-macos-aarch64.tar.xz"
sha256 sha_mac_arm
end

if Hardware::CPU.intel?
url "#{download}/#{version}/ys-#{version}-macos-x64.tar.xz"
sha256 sha_mac_int
end
end

def install
bin.install "ys"
bin.install "ys-0"
bin.install "ys-#{version}"
end

test do
assert_equal "YAMLScript #{version}\n",
pipe_output("#{bin}/ys --version")
end
end

0 comments on commit b19fa13

Please sign in to comment.