Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LizardByte/homebrew-release-action to 9fb3eb6fd8682b84b23b81ba8ed45f94a9fc84d5 #1

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions Formula/h/hello_world.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
class HelloWorld < Formula
desc "Simple program that outputs 'Hello, World!'"
homepage "https://app.lizardbyte.dev"
url "https://github.com/LizardByte/homebrew-release-action.git"
version "0.0.1"

def install
# create hello world sh file with echo command
(buildpath/"hello-world").write <<~EOS
#!/bin/sh
echo "Hello, World!"
EOS

# install the hello-world file to the bin directory
bin.install "hello-world"
end

test do
system "#{bin}/hello-world"
end
end
# Created from LizardByte/homebrew-release-action@2005de04a13c7b0b4f72f8a86e2b1efd31fe87ec