all repos — hastyscribe @ 3316525541201533c3b06fcb3f016e6c48ec0df4

A professional markdown compiler.

Fixed static library paths, htmlparser import.
h3rald h3rald@h3rald.com
Tue, 19 May 2026 14:49:40 +0200
commit

3316525541201533c3b06fcb3f016e6c48ec0df4

parent

70566bb1c39c8d8979b45e703dfe0ced9b8a8032

2 files changed, 5 insertions(+), 5 deletions(-)

jump to
M hastyscribe.nimblehastyscribe.nimble

@@ -20,7 +20,7 @@ bin = @["hastyscribe"]

srcDir = "src" installExt = @["nim", "json", "a", "css", "png", "svg", "c", "h", "in"] -requires "nim >= 2.0.0", "nimquery >= 2.0.1" +requires "nim >= 2.0.0", "nimquery >= 2.0.1", "htmlparser >= 0.1.0" # Tasks
M src/hastyscribe.nimsrc/hastyscribe.nim

@@ -14,7 +14,7 @@ sets,

] from nimquery import querySelectorAll -from std/htmlparser import parseHtml +from pkg/htmlparser import parseHtml import hastyscribepkg/niftylogger,

@@ -27,11 +27,11 @@ export

consts when defined(windows) and defined(amd64): - {.passL: "-static -L"&getProjectPath()&"/hastyscribepkg/vendor/markdown/windows -lmarkdown".} + {.passL: "-static -L"&currentSourcePath().parentDir&"/hastyscribepkg/vendor/markdown/windows -lmarkdown".} elif defined(linux) and defined(amd64): - {.passL: "-static -L"&getProjectPath()&"/hastyscribepkg/vendor/markdown/linux -lmarkdown".} + {.passL: "-static -L"&currentSourcePath().parentDir&"/hastyscribepkg/vendor/markdown/linux -lmarkdown".} elif defined(macosx) and defined(amd64): - {.passL: "-Bstatic -L"&getProjectPath()&"/hastyscribepkg/vendor/markdown/macosx -lmarkdown -Bdynamic".} + {.passL: "-Bstatic -L"&currentSourcePath().parentDir&"/hastyscribepkg/vendor/markdown/macosx -lmarkdown -Bdynamic".} type