Skip to content
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

update md4c version, use submodule #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:
run: cd v && make && ./v symlink -githubci && cd -

- name: Checkout markdown (for tests)
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: markdown
submodules: true

- name: Run tests
run: cd markdown && v test .
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/md4c"]
path = src/md4c
url = https://github.com/mity/md4c
1 change: 1 addition & 0 deletions src/md4c
Submodule md4c added at 481fbf
6 changes: 4 additions & 2 deletions src/md4c.v
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
*/
module markdown

#flag -I @VROOT/thirdparty/md4c
#flag @VROOT/thirdparty/md4c-lib.o
#flag -I @VMODROOT/src/md4c/src
#flag @VMODROOT/src/md4c/src/md4c.o
#flag @VMODROOT/src/md4c/src/md4c-html.o
#flag @VMODROOT/src/md4c/src/entity.o
#include "md4c.h"
#include "md4c-html.h"

Expand Down
28 changes: 0 additions & 28 deletions thirdparty/md4c-lib.c

This file was deleted.

Loading