forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify module creation #1019
Merged
Merged
Simplify module creation #1019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reviewer's Guide by SourceryThis pull request introduces a script to simplify the creation of new modules. The script automates the process of creating a new module, including adding the module to the root .dme file, creating an icons folder, and replacing the 'furior' placeholder with the user's directory name. Flow diagram for module creation scriptflowchart TD
Start([Start]) --> Input[/Get module name from user/]
Input --> CreateDir[Create module directory structure]
CreateDir --> CopyFiles[Copy example files]
CopyFiles --> RenameFiles[Rename files with module name]
RenameFiles --> CreateIcons[Create icons directory]
CreateIcons --> UpdateContent[Update content in module files]
UpdateContent --> UpdateDME[Update root .dme file]
UpdateDME --> SortIncludes[Sort module includes alphabetically]
SortIncludes --> End([End])
subgraph UpdateContent
direction TB
Replace1[Replace 'Example modpack' text] --> Replace2[Replace 'example' references]
Replace2 --> Replace3[Replace 'furior' with username]
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
ss220app
bot
added
the
📜 CL невалиден
Этот чейнджлог не пройдет валидацию перед публикацией. Исправить или удалить, если не требуется
label
Jan 19, 2025
AyIong
added
📜 CL не требуется
Эти изменения не влияют на игровой процесс или игроки по какой-то причине не должны о них знать
and removed
📜 CL невалиден
Этот чейнджлог не пройдет валидацию перед публикацией. Исправить или удалить, если не требуется
labels
Jan 19, 2025
Gaxeer
approved these changes
Jan 19, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
📜 CL не требуется
Эти изменения не влияют на игровой процесс или игроки по какой-то причине не должны о них знать
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Что этот PR делает
Упрощение создания модуля. По сути то что делал фуриор на пару, но с некоторыми улучшениями (Спасибо чатгпт xdd)
.dme
, при этом все инклюды модулей сортируются в алфавитном порядкеТестирование
Я заебался удалять тестовые папки
Summary by Sourcery
New Features: