summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-15 16:33:00 -0600
committermo khan <mo.khan@gmail.com>2020-03-15 16:33:00 -0600
commit9610ebd6111de5fc02d95974b5c6c822cc14c1f2 (patch)
treea0230a08c986b970b189bb724ca5f2e1b894cde7 /Makefile
parent0a46c6a0b45ae53ddd748be9fb8032d329d6f2c2 (diff)
Generate Rails ERD
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 97c6f67..9bee3fa 100644
--- a/Makefile
+++ b/Makefile
@@ -40,4 +40,6 @@ pdf3 :
cd assignments/3 && pandoc --metadata title="COMP-378: Assignment 3 - mo khan (3431709)" --from=commonmark --to=html5 -s -o README.pdf README.md
pdffinal :
+ cd rvh && bundle exec erd --notation=bachman --orientation=vertical --filetype=dot --prepend_primary=true --inheritance --title="RVH ERD" && dot -Tpng erd.dot > erd.png
+ mv rvh/erd.png assignments/final/
cd assignments/final && pandoc --metadata title="COMP-378: Final Project - mo khan (3431709)" --from=commonmark --to=html5 -s -o README.pdf README.md