deps2hash.sh 260 B

1234567
  1. #!/bin/sh
  2. # Because I am LAZY
  3. echo "PREREQ_PM => {"
  4. git grep -P 'use \S+;' | sed -e 's/^.*:use //g;s/[(|)|;]//g' | grep -vP 'strict|warnings' | sort | uniq | sed -e 's/\(.*\)/"\1"/;s/$/ => "0",/'
  5. echo '"Devel::NYTProf" => "0",'
  6. echo 'Starman => "0",'
  7. echo "}"