Browse Source

Deduplicate code and Update 1.2.2 (#24)

lunny/lunny/v1.2.3
Kim "BKC" Carlbäcker 2 years ago
parent
commit
beaa3a08a9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions
  1. +1
    -3
      gitea.rb
  2. +0
    -2
      lgtm.rb

+ 1
- 3
gitea.rb View File

@@ -5,7 +5,7 @@ class Gitea < Formula
head "https://github.com/go-gitea/gitea.git"

stable do
version "1.2.1"
version "1.2.2"
url "https://dl.gitea.io/gitea/#{version}/gitea-#{version}-darwin-10.6-amd64"
sha256 `curl -s https://dl.gitea.io/gitea/#{version}/gitea-#{version}-darwin-10.6-amd64.sha256`.split(" ").first
end
@@ -40,8 +40,6 @@ class Gitea < Formula
system "cd src/code.gitea.io/gitea && make generate build"

bin.install "#{buildpath}/gitea" => "gitea"
when build.devel?
bin.install "#{buildpath}/gitea-master-darwin-10.6-amd64" => "gitea"
else
bin.install "#{buildpath}/gitea-#{version}-darwin-10.6-amd64" => "gitea"
end


+ 0
- 2
lgtm.rb View File

@@ -40,8 +40,6 @@ class Lgtm < Formula
system "cd src/github.com/go-gitea/lgtm && make build"

bin.install "#{buildpath}/lgtm" => "lgtm"
when build.devel?
bin.install "#{buildpath}/lgtm-master-darwin-10.6-amd64" => "lgtm"
else
bin.install "#{buildpath}/lgtm-#{version}-darwin-10.6-amd64" => "lgtm"
end


Loading…
Cancel
Save