Wayneoween / alfred-dndbeyond-monster-workflow

Alfred Workflow for D&DBeyond Monsters
MIT License
2 stars 0 forks source link

reduce release file size #3

Closed Wayneoween closed 5 years ago

Wayneoween commented 5 years ago

7MB packed is a bit much for a binary that technically just scrapes dndbeyond.

Would be cool if we can reduce this size.

Wayneoween commented 5 years ago

Using go build -ldflags="-s -w" and upx allowed to reduce the filesize of the release version of the binary from 13MB down to 3MB!