samwafgo / SamWaf

SamWaf开源轻量级网站防火墙,完全私有化部署 SamWaf is a lightweight, open-source web application firewall for small companies, studios, and personal websites. It supports fully private deployment, encrypts data stored locally, is easy to start, and supports Linux and Windows 64-bit.
https://doc.samwaf.com
Apache License 2.0
302 stars 47 forks source link

添加 macos 编译脚本 #8

Open zsinba opened 1 month ago

zsinba commented 1 month ago

Windows 和 Linux 没编译过去。M2 Macos 正常编译运行。 另外,当前不支持 IPV6.

welcome[bot] commented 1 month ago

Thanks for opening this pull request! Please check out our contributing guidelines.

samwafgo commented 1 month ago

感谢提交。 1.SamWaf里面为了轻量化使用静态编译,win下不好直接编译其他平台,其他也是一样,所以目前线上用goreleaser去做的流水线打包。

2.因为确实没有在mac编译过,建议提交并使用形如:build_macos.sh,这样也方便其他朋友本地想编译,可以挑选自己适合的

zsinba commented 1 month ago

理解, 感谢贡献这么好的项目。

samwafgo commented 1 month ago

嗯嗯 ,稍加改名后,我来合并到主分支上