Add a script to automate the setup of a new mod #135
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Steven/fabric-example-mod#135
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Many languages/tools have setup utilities, for example
npm init
,cargo init
etc. Creating a new fabric mod can be tedious, as the number of files to rename or change is very large. Myself and others have created scripts to automate this process. Running it could look like this:I think it would be useful to a lot of people to provide a script like this alongside the example mod, which can be run to quickly get up and running.
Well @Jummit, you should take a look on this.
I have written my own script, so I'm not searching for one. I opened this issue to discuss shipping an official script with the example mod.
I think the best solution is a website that provides a set of options, and then offers a zip download of a project.
Take a look at https://www.lwjgl.org/customize as an example of this.
There would be massive scope for options, such as gradle script lanuage (groovy/kotlin). Additonal language adapters such as kotlin. Checkbox to include stuff such as github actions workflows. It could possibly offer the dev with some help to explain some of the more complex options and help them decide if the need it or not.