rubygem/bin/zeus

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby
platform = `uname -sm`

exe = case platform
      when /^Darwin.*arm64/; "zeus-darwin-arm64"
      when /^Darwin/       ; "zeus-darwin-amd64"
      when /^Linux.*64/    ; "zeus-linux-amd64"
      when /^Linux.*/      ; "zeus-linux-386"
      else
        puts "Zeus is not supported on your platform."
        puts "It's not likely to ever be possible on Windows."
        puts "If you're using another platform that you think should work easily, open an issue at:"
        puts "https://github.com/burke/zeus/issues"
        exit 1
      end

zeusgemdir = File.expand_path("../../", __FILE__)
exec "#{zeusgemdir}/build/#{exe}", *ARGV