-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write intro chapter for documentation / tests for all functionalities #25
Milestone
Comments
The makefile for texgen is a good example for tex.mk, noweb.mk and package.mk. |
The intro chapter should test all functionality, thus we can merge #3 with this issue. |
Closed
dbosk
changed the title
Write intro chapter for documentation
Write intro chapter for documentation / tests for all functionalities
Dec 11, 2019
dbosk
added a commit
that referenced
this issue
Jan 11, 2020
We now introduce `tests.mk` in the intro chapter. However, the tests will be covered in each chapter (i.e. in the NOWEB file of each include). There is a `tests.nw` file which sets up the structure. This file is covered in the introduction. However, each file, e.g. `tex.mk.nw`, will also have a code block `<<tests.mk>>` containing all test code. Then `tests.mk` can be constructed from `tests.nw tex.mk.nw` and so on. The rationale is that the tests should be with the code. Otherwise they risk getting out of sync.
The intro chapter now documents the repo |
This is related to #69. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The chapter should decribe how to use the makefiles. A good way is to literally
document the
Makefile
used in the repo. ThisMakefile
uses a lot of theavailable functionality. Thus it can also serve as "tests" for the functionalities.
The text was updated successfully, but these errors were encountered: