-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from AestheticIntegration/feat-documentation-m…
…akefile Adding a doc target in the Makefile
- Loading branch information
Showing
6 changed files
with
61 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
## OCaml compilation of the `fix-engine` model | ||
|
||
Build all the `*.cma` libraries in each module subfolder: | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
Build a FIX server, based on the model: | ||
|
||
``` | ||
make server | ||
``` | ||
|
||
Build a FIX client that runs the test suite: | ||
|
||
``` | ||
make build_test | ||
``` | ||
|
||
To run the test suite, you can launch the `run_tests.sh` bash script. | ||
|
||
## Making and updating documentation in the `gh-pages` | ||
|
||
To update the documentation in the `gh-pages` branch, you can do the following: | ||
|
||
- checkout the `master` branch and call maketo generate the `doc` folder | ||
|
||
``` | ||
git checkout master git status | ||
make doc | ||
``` | ||
|
||
- stash the changes in the `doc` folder | ||
|
||
``` | ||
git add doc/* | ||
git stash | ||
``` | ||
|
||
- checkout gh-pages and apply the stash | ||
|
||
``` | ||
git checkout gh-pages | ||
git checkout stash -- doc | ||
git commit -m "Update documentation" | ||
git push origin gh-pages | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.