update_gem_licenses.sh 343 B

123456789
  1. #!/bin/sh
  2. # This script regenerates the LICENSE_GEMS file with the current gem licenses.
  3. # It should be run automatically whenever Metasploit cuts a new release itself.
  4. gem install license_finder --version "5.11.1"
  5. echo "This file is auto-generated by tools/dev/update_gem_licenses.sh" > LICENSE_GEMS
  6. license_finder | grep , >> LICENSE_GEMS