07df1f72e9
git-credential-manager 1.3 (version bump) Minor changes - Improved the Homebrew-based installation. - Added a feature to enable "debug mode" during installation. - Added RPM-based installation for GNU/Linux. - Updated references from Visual Studio Online (VSO) to the new name: Visual Studio Team Services (VSTS). - Improved documentation. Closes Homebrew/homebrew#46285. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
19 lines
715 B
Ruby
19 lines
715 B
Ruby
class GitCredentialManager < Formula
|
|
desc "Stores Git credentials for Visual Studio Team Services"
|
|
homepage "https://java.visualstudio.com/Docs/tools/gitcredentialmanager"
|
|
url "https://github.com/Microsoft/Git-Credential-Manager-for-Mac-and-Linux/releases/download/git-credential-manager-1.3.0/git-credential-manager-1.3.0.jar"
|
|
sha256 "830357015eba45bf7a8188279e1b26ff88005b3d567aa302018c38022f6e9670"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on :java => "1.7+"
|
|
|
|
def install
|
|
libexec.install "git-credential-manager-#{version}.jar"
|
|
bin.write_jar_script libexec/"git-credential-manager-#{version}.jar", "git-credential-manager"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/git-credential-manager", "version"
|
|
end
|
|
end
|