MorningPeak/doc.sh
2015-07-23 18:59:23 +02:00

10 lines
205 B
Bash
Executable File

#!/bin/sh
if [[ $(bundle list erd) == "" ]]
then
echo "ERD Not found, installation ..."
gem install rails-erd
fi
bundle exec erd --polymorphism --inheritance --attributes=content
xdg-open erd.pdf