Skip to content

Commit

Permalink
HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed Mar 19, 2024
1 parent 18f22d1 commit 95b4bca
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/check-bundle.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby

############################################################################
#!/usr/bin/env ruby
# Checks that every executable required in the release package is
# present and works.
# On Linux it checks if executables are statically linked.
Expand All @@ -10,11 +10,14 @@
require 'open3'

tests = {
"cardano-wallet" => [ "cardano-node", "cardano-cli", "bech32", "cardano-address" ]
"cardano-wallet.exe" => [ "cardano-node", "cardano-cli", "bech32", "cardano-address" ]
; "cardano-wallet" => [ "cardano-node", "cardano-cli", "bech32", "cardano-address" ]
}

if ARGV.length < 1 || ARGV.length > 2 || tests[ARGV[0]] == nil
STDERR.puts "Usage: check-bundle cardano-wallet [RUNNER]"
STDERR.puts ARGV[0]
STDERR.puts ARGV[1]
exit 1
end

Expand Down

0 comments on commit 95b4bca

Please sign in to comment.