all repos — hastysite @ 3c7a6043d949ea61e064e3a6503be61cf670019f

A high-performance static site generator.

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

3c7a6043d949ea61e064e3a6503be61cf670019f

parent

978a77503307e5c032567e89d1e6d7af054273d6

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") +