├── README.md └── Formula └── cyclonedx-cr.rb /README.md: -------------------------------------------------------------------------------- 1 | # homebrew-cyclonedx-cr -------------------------------------------------------------------------------- /Formula/cyclonedx-cr.rb: -------------------------------------------------------------------------------- 1 | # typed: true 2 | # frozen_string_literal: true 3 | 4 | # This file was generated by Homebrew Releaser. DO NOT EDIT. 5 | class CyclonedxCr < Formula 6 | desc "Crystal tool for generating cyclonedx software bill of materials (sbom) from c" 7 | homepage "https://github.com/hahwul/cyclonedx-cr" 8 | url "https://github.com/hahwul/cyclonedx-cr/archive/refs/tags/v1.0.0.tar.gz" 9 | sha256 "929dea3870a3743d2a1ff60d15b663ad196d49285ad75c40f596a2d63d77b002" 10 | license "MIT" 11 | 12 | depends_on "crystal" 13 | 14 | def install 15 | system "shards install" 16 | system "shards build --release --no-debug --production" 17 | bin.install "bin/cyclonedx-cr" 18 | end 19 | 20 | test do 21 | system "{bin}/cyclonedx-cr", "-v" 22 | end 23 | end 24 | --------------------------------------------------------------------------------