Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- and document the procedure for upgrading Cmark in the future in Sources/Ccmark/README.md
- Loading branch information
1 parent
29f6023
commit c02d3f1
Showing
3 changed files
with
26 additions
and
5 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,20 @@ | ||
## Instructions to update cmark | ||
|
||
* Git clone https://github.com/commonmark/cmark.git | ||
* cd cmark/src | ||
* Copy all files except the ones ending .in into Kitura-Markdown/sources/Ccmark | ||
* Replace any existing file and ensure include folder remains | ||
|
||
Back in Ccmark: | ||
``` | ||
brew install cmake | ||
mkdir build | ||
cd build | ||
cmake .. | ||
``` | ||
* open src | ||
* copy any .h files into Kitura-Markdown/sources/Ccmark | ||
|
||
* open cmark.h and replace angled brackets for cmark_export.h and cmark_version.h with double quotes ("") | ||
|
||
* delete the main.c file |
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 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#ifndef CMARK_VERSION_H | ||
#define CMARK_VERSION_H | ||
|
||
#define CMARK_VERSION ((0 << 16) | (25 << 8) | 2) | ||
#define CMARK_VERSION_STRING "0.25.2" | ||
#define CMARK_VERSION ((0 << 16) | (28 << 8) | 3) | ||
#define CMARK_VERSION_STRING "0.28.3" | ||
|
||
#endif |