class AwsDdbsh < Formula desc "Simple SQL CLI for DynamoDB" homepage "https://www.ddbsh.org/" url "https://github.com/awslabs/dynamodb-shell.git", tag: "v0.6.1", revision: "23205596d42743bb70baafda720ec28c3a2a735c" license "Apache-2.0" depends_on "cmake" => :build depends_on "aws-sdk-cpp" def install system "cmake", "-S", "ddbsh", "-B", "build", *std_cmake_args system "cmake", "--build", "build" system "cmake", "--install", "build" end test do system "#{bin}/ddbsh", "-c", "quit" end end