Skip to content

Commit

Permalink
Merge pull request #173 from NicolasCombe5555/master
Browse files Browse the repository at this point in the history
Fix `Command failed with status 127` (#162)
  • Loading branch information
ashfurrow authored Sep 7, 2021
2 parents e329b47 + 48a8a2b commit aeafd20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/swiftlint/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ namespace :swiftlint do
ASSET = 'portable_swiftlint.zip'
URL = "#{REPO}/releases/download/#{VERSION}/#{ASSET}"
DESTINATION = File.expand_path(File.join(File.dirname(__FILE__), 'bin'))
SCRIPT_PATH = File.expand_path(File.join(File.dirname(__FILE__)))
SWIFTLINT_MD5_HASH = DangerSwiftlint::SWIFTLINT_HASH

puts "Downloading swiftlint@#{VERSION}"
sh "sh downloadSwiftlint.sh -u #{URL} -d #{DESTINATION} -a #{ASSET} -dh #{SWIFTLINT_MD5_HASH}"
sh "sh #{SCRIPT_PATH}/downloadSwiftlint.sh -u #{URL} -d #{DESTINATION} -a #{ASSET} -dh #{SWIFTLINT_MD5_HASH}"
end
end

Expand Down

0 comments on commit aeafd20

Please sign in to comment.