Skip to content

Generate a project .gitignore during vex init #101

Closed

Description

@LunaStev

Motivation

A newly initialized Vex project can accidentally commit build artifacts and managed dependency checkouts.

Scope

Add the ignore file as one small scaffold improvement. Transactional publication and rollback remain tracked in #33.

Acceptance criteria

  • When no .gitignore exists, generate one containing /target/ and /.vex/.
  • Use deterministic LF-terminated output.
  • Never overwrite or truncate an existing .gitignore.
  • Add tests for both a missing and an existing .gitignore.
  • Keep the behavior consistent for binary and library initialization.

Split from #33.

Activity

  1. added
    enhancement
    good first issue
    ui/ux
    on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issueui/ux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions