From 15bb641a8e47aa784023ca6a8892368c3bb2fd15 Mon Sep 17 00:00:00 2001 From: Hong Yi Date: Mon, 18 Mar 2024 19:00:52 +0800 Subject: [PATCH 1/4] poui v0.1.0 --- Formula/poui.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Formula/poui.rb diff --git a/Formula/poui.rb b/Formula/poui.rb new file mode 100644 index 0000000..38ec9ab --- /dev/null +++ b/Formula/poui.rb @@ -0,0 +1,17 @@ +class Poui < Formula + desc "Please Open UI (POUI) - An application to help you open your relevant developer portals" + homepage "https://github.com/hong-yi/poui" + url "https://github.com/hong-yi/poui/archive/refs/tags/v0.1.0.tar.gz" + sha256 "7d29489551a8bf43b52a5084d28b16adc5d75d0bc61587a10e72fabe146c8fc3" + license "MIT" + + depends_on "go" => :build + + def install + system "go", "build", *std_go_args(ldflags: "-s -w") + end + + test do + system "false" + end +end From cb87719353b630d289fa300100dc6b8b9ba283f6 Mon Sep 17 00:00:00 2001 From: Hong Yi Date: Mon, 18 Mar 2024 19:06:16 +0800 Subject: [PATCH 2/4] fix desc --- Formula/poui.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/poui.rb b/Formula/poui.rb index 38ec9ab..b0f525b 100644 --- a/Formula/poui.rb +++ b/Formula/poui.rb @@ -1,5 +1,5 @@ class Poui < Formula - desc "Please Open UI (POUI) - An application to help you open your relevant developer portals" + desc "An application to help you open your relevant developer portals" homepage "https://github.com/hong-yi/poui" url "https://github.com/hong-yi/poui/archive/refs/tags/v0.1.0.tar.gz" sha256 "7d29489551a8bf43b52a5084d28b16adc5d75d0bc61587a10e72fabe146c8fc3" From c28f6e76f6bcb814f27d15f2f88609228d499738 Mon Sep 17 00:00:00 2001 From: Hong Yi Date: Mon, 18 Mar 2024 19:08:00 +0800 Subject: [PATCH 3/4] fix desc --- Formula/poui.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/poui.rb b/Formula/poui.rb index b0f525b..8bd4ad8 100644 --- a/Formula/poui.rb +++ b/Formula/poui.rb @@ -1,5 +1,5 @@ class Poui < Formula - desc "An application to help you open your relevant developer portals" + desc "Application to help you open your relevant developer portals" homepage "https://github.com/hong-yi/poui" url "https://github.com/hong-yi/poui/archive/refs/tags/v0.1.0.tar.gz" sha256 "7d29489551a8bf43b52a5084d28b16adc5d75d0bc61587a10e72fabe146c8fc3" From cfff1a71f81031f91134a6fcbc21ab67c14a4371 Mon Sep 17 00:00:00 2001 From: Hong Yi Date: Mon, 18 Mar 2024 19:19:10 +0800 Subject: [PATCH 4/4] test --- Formula/poui.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Formula/poui.rb b/Formula/poui.rb index 8bd4ad8..bf56b0f 100644 --- a/Formula/poui.rb +++ b/Formula/poui.rb @@ -1,8 +1,7 @@ class Poui < Formula desc "Application to help you open your relevant developer portals" homepage "https://github.com/hong-yi/poui" - url "https://github.com/hong-yi/poui/archive/refs/tags/v0.1.0.tar.gz" - sha256 "7d29489551a8bf43b52a5084d28b16adc5d75d0bc61587a10e72fabe146c8fc3" + url "https://github.com/hong-yi/poui.git", tag: "v0.1.0" license "MIT" depends_on "go" => :build @@ -12,6 +11,6 @@ def install end test do - system "false" + system "true" end end