all repos — hastysite @ 05e0102acb1fbfe612f60c224b1890fc61f046e8

A high-performance static site generator.

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

05e0102acb1fbfe612f60c224b1890fc61f046e8

parent

9628925ad0d8579dd4de11322112f4a8ae0509a2

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.