Skip to content

chore: add dist.sh script and make dmg target - #58

Merged
jatinkrmalik merged 1 commit into
mainfrom
chore/dist-script
Mar 10, 2026
Merged

chore: add dist.sh script and make dmg target#58
jatinkrmalik merged 1 commit into
mainfrom
chore/dist-script

Conversation

@jatinkrmalik

Copy link
Copy Markdown
Member

Summary

Replaces the ad-hoc DMG staging directory mess with a clean, repeatable process.

Before

Every DMG build created a new dmg-staging-vN/ directory that couldn't be easily cleaned up, resulting in 22+ leftover directories cluttering the repo root.

After

  • make dmg — single command to build and package a DMG
  • scripts/dist.sh — builds the app, stages in dist/.staging/, creates the DMG in dist/, cleans up staging automatically
  • dist/ — single output directory, gitignored, cleaned by make clean

Usage

make dmg
# Output: dist/VocaMac-0.2.0-arm64.dmg

Changes

  • scripts/dist.sh — new DMG build script
  • Makefile — added dmg target, added dist/ to clean
  • .gitignore — replaced *.dmg + dmg-staging*/ with dist/

Cleanup

After merging, run rm -rf dmg-staging* to remove the old directories.

- Add scripts/dist.sh for clean DMG builds using a single dist/
  directory instead of creating dmg-staging-vN dirs on every build
- Add 'make dmg' target to Makefile
- Update .gitignore to ignore dist/ instead of *.dmg and dmg-staging*/
- Add dist/ cleanup to 'make clean'

Usage: make dmg
Output: dist/VocaMac-<version>-<arch>.dmg
@jatinkrmalik
jatinkrmalik merged commit c1278a5 into main Mar 10, 2026
1 check passed
@jatinkrmalik
jatinkrmalik deleted the chore/dist-script branch August 22, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant