feat(build):添加UPX压缩支持以减小可执行文件体积

📝 docs:更新README文档,添加Makefile使用说明和UPX压缩说明
🔧 chore:添加Makefile简化构建流程,支持自动UPX压缩
🔧 chore:添加cabal.project.local配置文件优化构建
⬆️ chore:升级项目版本至0.3.0.2
🔧 chore:优化GHC编译选项,启用优化和链接器优化
This commit is contained in:
2026-02-04 17:54:09 +08:00
parent 83d6d79bc4
commit e4b3cebf2b
6 changed files with 115 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ name: quickjump
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.3.0.1
version: 0.3.0.2
-- A short (one-line) description of the package.
synopsis: Directory Jump and Quick Directory Open
@@ -55,7 +55,12 @@ extra-doc-files: CHANGELOG.md
-- extra-source-files:
common warnings
ghc-options: -Wall
ghc-options:
-O1
-optl-s
-optl-Wl,--gc-sections
-optl-Wl,--strip-all
-fPIC
executable quickjump
-- Import common warning flags.