Skip to content

Add clean Bash script #3

@victorpopkov

Description

@victorpopkov

Verify

  • I understand that if I ignore these instructions, my issue may be closed without review.
  • I have made sure that there are no similar opened issues.
  • I have made sure that the SDK version matches the latest release.

Is your feature request related to a problem? Please describe.

I'm always frustrated when it comes to removing all unnecessary files and modules which I'm not planning to use within my mod. For example, whenever I prepare a workshop release I want to have as little code as possible, so I remove everything that I'm not using or is just part of the "junk" like different dotfiles or documentation. It would be nice to have a script that handles this for you.

Describe the solution you'd like

Add a Bash script to clean all unnecessary files based on the provided modules that are being used. It should remove everything except stuff that is essential for an SDK to work and do its job.

Describe alternatives you've considered

Bash script should cover both Linux and macOS and it's easy to implement. For Windows, an alternative should be added like a cmd or a PowerShell script that does the same thing. Right now we use Docker for development, so Bash is part of our tools. Moreover, WSL is also an option when it comes to Windows users. So for now, I think a Bash script is a good compromise between ease of writing and OS coverage.

Additional context

If applicable, add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions