Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Fix UML Diagram for README and Rust Docs. Setup Cargo Make task runner. Setup Cargo Watch. #47

Merged
merged 6 commits into from
Apr 24, 2018

Conversation

ltfschoen
Copy link
Collaborator

@ltfschoen ltfschoen commented Apr 23, 2018

I've fixed the UML diagram so that it generates correctly and is shown in the README file and in the Rust Docs. I've also integrated Cargo Make, which is awesome, as you just configure a default Makefile.toml for all your tasks, with much simpler usage. For example, to run all the implementations at once (i.e. proposer mode, notary mode, and both mode) just run cargo make all, or to run all the unit and integration tests for the main package and all the libraries just run cargo make t, or to run Cargo Watch so it detects whenever you change any code and automatically runs all unit and integration tests and shows if you've encountered any issues then just run it with cargo make test and leave that running in a terminal window whilst your writing all your code so you know you're not breaking anything.
And if you want to open the UML diagram just run cargo make uml.


[tasks.uml]
command = "open"
args = ["-a", "Google Chrome", "./diagrams/ml.svg"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have Google Chrome here? I use Firefox.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I'll add it as an issue

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@jamesray1
Copy link
Member

Looks good, I'll merge.

@jamesray1 jamesray1 merged commit 292d83b into Drops-of-Diamond:develop Apr 24, 2018
AyushyaChitransh pushed a commit to AyushyaChitransh/diamond_drops that referenced this pull request May 9, 2018
Fix UML Diagram for README and Rust Docs. Setup Cargo Make task runner. Setup Cargo Watch.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants