BurntSushi / erd

Translates a plain text description of a relational database schema to a graphical entity-relationship diagram.
The Unlicense
1.79k stars 154 forks source link

Very rough support of regular dot tables as output #74

Closed bollafa closed 4 years ago

bollafa commented 4 years ago

Add a new format option: output entities as dot tables instead of html.

mmzx commented 4 years ago

@bollafa , You would need to rebase your branch with erd/master: In your local repo git remote add erdrepo https://github.com/BurntSushi/erd.git this will create a new remote: erdrepo. git fetch erdrepo will fetch all branches from this new remote, eventually git rebase erdrepo/master will give you the updates from master.

This will resolve some of the code linter issues (hlint) hints that your branch has currently and there will be three more to be taken care of.

bollafa commented 4 years ago

The travis build fails with

"curl -sL https://raw.github.com/ndmitchell/hlint/master/misc/travis.sh | sh -s ." exited with 1.

Shouldn't the parameter be -sSL instead of -sL ?

On the hlinter hackage web it says that you should use this command with travis:

curl -sSL https://raw.github.com/ndmitchell/hlint/master/misc/run.sh | sh -s .

EDIT: Forget what I wrote up there Alright the error was a linting issue, although funnily enough I have hlint installed locally and it didn't report any suggestion on app/Main.hs, the travis build did.

mmzx commented 4 years ago

@bollafa if you feel ready and complete let me know, so your contributions would merged into master. :)

bollafa commented 4 years ago

@mmzx I think it's all good and dandy now, specially so with your commits, thank you!

mmzx commented 4 years ago

Great. Thank you! :)