CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/tools/dev/update_gem_licenses.sh
Views: 11767
1
#!/bin/sh
2
3
# This script regenerates the LICENSE_GEMS file with the current gem licenses.
4
# It should be run automatically whenever Metasploit cuts a new release itself.
5
6
gem install license_finder --version "5.11.1"
7
echo "This file is auto-generated by tools/dev/update_gem_licenses.sh" > LICENSE_GEMS
8
license_finder | grep , >> LICENSE_GEMS
9
10