all repos — hastysite @ b3c6166909b77f76f60cada1e521b53e13c7f0b0

A high-performance static site generator.

Fixed release.
h3rald h3rald@h3rald.com
Sat, 20 Mar 2021 10:27:47 +0100
commit

b3c6166909b77f76f60cada1e521b53e13c7f0b0

parent

724594fcd10a7acab8b50c04cf19d473713539dd

M hastysite.nimblehastysite.nimble

@@ -12,7 +12,7 @@ requires: "nim >= 1.4.0"

# Tasks const - compile = "nim c -d:release -d:nimOldCaseObjects" + compile = "nim c -d:release" linux_x64 = "--cpu:amd64 --os:linux" windows_x64 = "--cpu:amd64 --os:windows" macosx_x64 = ""
A hastysite.nims

@@ -0,0 +1,10 @@

+# https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/ + +switch("amd64.windows.gcc.path", "/usr/local/bin") +switch("amd64.windows.gcc.exe", "x86_64-w64-mingw32-gcc") +switch("amd64.windows.gcc.linkerexe", "x86_64-w64-mingw32-gcc") + +switch("amd64.linux.gcc.path", "/usr/local/bin") +switch("amd64.linux.gcc.exe", "x86_64-linux-musl-gcc") +switch("amd64.linux.gcc.linkerexe", "x86_64-linux-musl-gcc") +