diff --git a/_blog/dst/post/test.md.html b/_blog/dst/post/index.md.html similarity index 100% rename from _blog/dst/post/test.md.html rename to _blog/dst/post/index.md.html diff --git a/_blog/src/post/test.md b/_blog/src/post/index.md similarity index 100% rename from _blog/src/post/test.md rename to _blog/src/post/index.md diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..b3d32bd --- /dev/null +++ b/build.bat @@ -0,0 +1,13 @@ +SET TARGET=dist +SET CGO_ENABLED=0 + +SET EXECUTE_NAME=molly_blog + +SET GOOS=linux +SET GOARCH=amd64 +go build -v -a -ldflags "-s -w" -gcflags="all=-trimpath=${PWD}" -asmflags="all=-trimpath=${PWD}" -o %TARGET%/%EXECUTE_NAME%_linux_amd64 + + +SET GOOS=windows +SET GOARCH=amd64 +go build -v -a -ldflags "-s -w" -gcflags="all=-trimpath=${PWD}" -asmflags="all=-trimpath=${PWD}" -o %TARGET%/%EXECUTE_NAME%_windows_x64.exe