File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,19 @@ class Granted < Formula
2020 def install
2121 ldflags = "-s -w -X github.com/common-fate/granted/internal/build.Version=#{ version } "
2222 system "go" , "build" , *std_go_args ( ldflags :) , "./cmd/granted"
23+ bin . install_symlink "granted" => "assumego"
24+ bin . install "scripts/assume"
25+ bin . install "scripts/assume.fish"
2326 end
2427
2528 test do
2629 assert_match version . to_s , shell_output ( "#{ bin } /granted --version" )
2730
2831 output = shell_output ( "#{ bin } /granted auth configure 2>&1" , 1 )
2932 assert_match "[✘] please provide a url argument" , output
33+
34+ assert_predicate bin /"assume" , :exist?
35+ assert_predicate bin /"assumego" , :exist?
36+ assert_predicate bin /"assume.fish" , :exist?
3037 end
3138end
You can’t perform that action at this time.
0 commit comments