all repos — hastysite @ b3ed568b7b6af1eb3367ca5616b92e440ef8ced8

A high-performance static site generator.

Fixed runtime error on linux.
h3rald h3rald@h3rald.com
Sun, 29 Dec 2019 13:33:35 +0100
commit

b3ed568b7b6af1eb3367ca5616b92e440ef8ced8

parent

e847aee1397f056af2f9c2b3a146666f6cd76789

M HastySite_UserGuide.mdHastySite_UserGuide.md

@@ -28,6 +28,10 @@ {@ site/contents/reference.md || 1 @}

## Changelog +### v1.3.3 + +{@ site/contents/posts/v133-released.md || 1 @} + ### v1.3.2 {@ site/contents/posts/v132-released.md || 1 @}
M config.nimconfig.nim

@@ -1,5 +1,5 @@

const pkgName* = "HastySite" - pkgVersion* = "1.3.2" + pkgVersion* = "1.3.3" pkgDescription* = "A small but powerful static site generator" pkgAuthor* = "Fabio Cevasco"
M hastysite.nimhastysite.nim

@@ -11,6 +11,8 @@ logging,

pegs {.passL: "-Lpackages/hastyscribe/src/hastyscribepkg/vendor".} +when defined(linux): + {.passL:"-static".} import packages/min/min,
M hastysite.nim.cfghastysite.nim.cfg

@@ -1,11 +1,12 @@

# https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/ +# Remember to pass passL:"-static" when cross compiling on linux! -# https://gist.github.com/Drakulix/9881160 +define: release + amd64.windows.gcc.path = "/usr/local/bin" amd64.windows.gcc.exe = "x86_64-w64-mingw32-gcc" amd64.windows.gcc.linkerexe = "x86_64-w64-mingw32-gcc" -# http://crossgcc.rts-software.org/doku.php?id=compiling_for_linux amd64.linux.gcc.path = "/usr/local/bin" amd64.linux.gcc.exe = "x86_64-linux-musl-gcc" amd64.linux.gcc.linkerexe = "x86_64-linux-musl-gcc"
A site/contents/posts/v133-released.md

@@ -0,0 +1,8 @@

+----- +id: v133-released +title: "Version 1.3.3 released" +content-type: post +date: "29 December 2019" +timestamp: 1577621894 +----- +* Fixed cross-compilation error.