Skip to content

fix: clean non-essential files from V installation after build#22

Merged
ulises-jeremias merged 1 commit into
mainfrom
fix/clean-installation-after-build
Jun 23, 2026
Merged

fix: clean non-essential files from V installation after build#22
ulises-jeremias merged 1 commit into
mainfrom
fix/clean-installation-after-build

Conversation

@ulises-jeremias

Copy link
Copy Markdown
Member

Summary

After building V from source, removes non-essential files (examples, tests, benchmarks, docs) from the installation directory. This prevents V's own repository files from interfering with project-level commands like v fmt -verify ..

Closes #6

Changes

  • Add clean input to action.yml (default: true)
  • Add cleanInstallation function to installer.ts
  • Call cleanup after buildV when clean is enabled
  • Add tests for cleanup logic
  • Update README.md

Validation

  • npm run lint
  • npm run test
  • npm run build
  • npm run package
  • npm run format-check

After building V from source, remove examples, tests, benchmarks, and
documentation from the installation directory. This prevents V's own
files from interfering with project-level commands like v fmt -verify.

Adds a clean input (default: true) to control the behavior.

Closes #6
@ulises-jeremias ulises-jeremias force-pushed the fix/clean-installation-after-build branch from affe351 to 0c89227 Compare June 23, 2026 05:22
@ulises-jeremias ulises-jeremias merged commit c8d5814 into main Jun 23, 2026
2 checks passed
@ulises-jeremias ulises-jeremias deleted the fix/clean-installation-after-build branch June 23, 2026 05:22
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.

Format verification fails on GHA runner

1 participant